@constal/sdk 3.7.0 → 3.8.0
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/package.json +1 -1
- package/publish/api.json +1 -1
- package/publish/index.d.ts +5 -0
package/package.json
CHANGED
package/publish/api.json
CHANGED
package/publish/index.d.ts
CHANGED
|
@@ -2780,6 +2780,11 @@ interface ChannelContext {
|
|
|
2780
2780
|
timeoutMs?: number;
|
|
2781
2781
|
dedupeKey?: string;
|
|
2782
2782
|
}): Promise<T>;
|
|
2783
|
+
/**
|
|
2784
|
+
* Keeps the Channel's code running after it answers; its Resource calls stay under this invocation's capability until it
|
|
2785
|
+
* expires. In send() and failed() the Session refuses them once it has finished the item.
|
|
2786
|
+
*/
|
|
2787
|
+
waitUntil(promise: Promise<unknown>): void;
|
|
2783
2788
|
}
|
|
2784
2789
|
interface ChannelMessage<T = unknown> {
|
|
2785
2790
|
id: string;
|