@rivetkit/rivetkit-napi 0.0.0-active-actors-fix-active-count.253e406 → 0.0.0-codex-rivetkit-rust-preview-publish.4de8c2a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +3 -1
- package/package.json +9 -9
package/index.d.ts
CHANGED
|
@@ -242,6 +242,7 @@ export declare class ActorContext {
|
|
|
242
242
|
broadcast(name: string, args: Buffer): void
|
|
243
243
|
waitUntil(promise: Promise<any>): void
|
|
244
244
|
waitForTrackedShutdownWork(): Promise<boolean>
|
|
245
|
+
waitForTrackedShutdownWorkUnbounded(): Promise<void>
|
|
245
246
|
registerTask(promise: Promise<any>): void
|
|
246
247
|
runtimeState(): object
|
|
247
248
|
clearRuntimeState(): void
|
|
@@ -289,7 +290,7 @@ export declare class Queue {
|
|
|
289
290
|
next(options?: JsQueueNextOptions | undefined | null, signal?: CancellationToken | undefined | null): Promise<QueueMessage | null>
|
|
290
291
|
nextBatch(options?: JsQueueNextBatchOptions | undefined | null, signal?: CancellationToken | undefined | null): Promise<Array<QueueMessage>>
|
|
291
292
|
waitForNames(names: Array<string>, options?: JsQueueWaitOptions | undefined | null, signal?: CancellationToken | undefined | null): Promise<QueueMessage>
|
|
292
|
-
waitForNamesAvailable(names: Array<string>, options?: JsQueueWaitOptions | undefined | null): Promise<void>
|
|
293
|
+
waitForNamesAvailable(names: Array<string>, options?: JsQueueWaitOptions | undefined | null, signal?: CancellationToken | undefined | null): Promise<void>
|
|
293
294
|
enqueueAndWait(name: string, body: Buffer, options?: JsQueueEnqueueAndWaitOptions | undefined | null, signal?: CancellationToken | undefined | null): Promise<Buffer | null>
|
|
294
295
|
tryNext(options?: JsQueueTryNextOptions | undefined | null): QueueMessage | null
|
|
295
296
|
tryNextBatch(options?: JsQueueTryNextBatchOptions | undefined | null): Array<QueueMessage>
|
|
@@ -316,6 +317,7 @@ export declare class CoreRegistry {
|
|
|
316
317
|
* separately to avoid re-entrancy.
|
|
317
318
|
*/
|
|
318
319
|
shutdown(): Promise<void>
|
|
320
|
+
actorStopThresholdMs(): Promise<number | null>
|
|
319
321
|
health(): Promise<JsRegistryRouteResponse>
|
|
320
322
|
metadata(): JsRegistryRouteResponse
|
|
321
323
|
metrics(): JsRegistryRouteResponse
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rivetkit/rivetkit-napi",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-codex-rivetkit-rust-preview-publish.4de8c2a",
|
|
4
4
|
"description": "Native N-API addon for RivetKit providing envoy client and SQLite access",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "index.js",
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@napi-rs/cli": "^2.18.4",
|
|
46
|
-
"@rivetkit/engine-envoy-protocol": "0.0.0-
|
|
46
|
+
"@rivetkit/engine-envoy-protocol": "0.0.0-codex-rivetkit-rust-preview-publish.4de8c2a"
|
|
47
47
|
},
|
|
48
48
|
"optionalDependencies": {
|
|
49
|
-
"@rivetkit/rivetkit-napi-darwin-arm64": "0.0.0-
|
|
50
|
-
"@rivetkit/rivetkit-napi-darwin-x64": "0.0.0-
|
|
51
|
-
"@rivetkit/rivetkit-napi-linux-arm64-gnu": "0.0.0-
|
|
52
|
-
"@rivetkit/rivetkit-napi-linux-arm64-musl": "0.0.0-
|
|
53
|
-
"@rivetkit/rivetkit-napi-linux-x64-gnu": "0.0.0-
|
|
54
|
-
"@rivetkit/rivetkit-napi-linux-x64-musl": "0.0.0-
|
|
55
|
-
"@rivetkit/rivetkit-napi-win32-x64-msvc": "0.0.0-
|
|
49
|
+
"@rivetkit/rivetkit-napi-darwin-arm64": "0.0.0-codex-rivetkit-rust-preview-publish.4de8c2a",
|
|
50
|
+
"@rivetkit/rivetkit-napi-darwin-x64": "0.0.0-codex-rivetkit-rust-preview-publish.4de8c2a",
|
|
51
|
+
"@rivetkit/rivetkit-napi-linux-arm64-gnu": "0.0.0-codex-rivetkit-rust-preview-publish.4de8c2a",
|
|
52
|
+
"@rivetkit/rivetkit-napi-linux-arm64-musl": "0.0.0-codex-rivetkit-rust-preview-publish.4de8c2a",
|
|
53
|
+
"@rivetkit/rivetkit-napi-linux-x64-gnu": "0.0.0-codex-rivetkit-rust-preview-publish.4de8c2a",
|
|
54
|
+
"@rivetkit/rivetkit-napi-linux-x64-musl": "0.0.0-codex-rivetkit-rust-preview-publish.4de8c2a",
|
|
55
|
+
"@rivetkit/rivetkit-napi-win32-x64-msvc": "0.0.0-codex-rivetkit-rust-preview-publish.4de8c2a"
|
|
56
56
|
}
|
|
57
57
|
}
|