resonate-sdk-ts
resonate-sdk-ts copied to clipboard
DurablePromise wait
class DurablePromise {
async wait(t: number) {
...
}
}
This lower level async API waits until the promise is completed and returns void
. If the promise is not completed with t
milliseconds an error is thrown.