resonate-sdk-ts icon indicating copy to clipboard operation
resonate-sdk-ts copied to clipboard

DurablePromise wait

Open dfarr opened this issue 9 months ago • 0 comments

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.

dfarr avatar May 07 '24 00:05 dfarr