Skip to content

Commit 761a716

Browse files
committed
fix: carry managed admission through operation dispatch
1 parent 80b0134 commit 761a716

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/contracts/src/platform-runtime-host.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export type PlatformRequestScope = Readonly<{
199199
device: DeviceInfo;
200200
owner: Extract<RuntimeOwnerRef, { kind: 'managed-local' }>;
201201
fence: ResourceOwnershipFence;
202-
ensureReady(): Promise<void>;
202+
admit<T>(task: () => Promise<T>): Promise<T>;
203203
run<T>(task: () => Promise<T>): Promise<T>;
204204
}>;
205205
}>;

0 commit comments

Comments
 (0)