Request for Feedback on Sleep and Wakeup Function Implementation in Effect Project
Hi - I just started using effect this weekend and I am trying to add it to my project. I created a controller that returns a sleep and wakeup function. Callers can sleep for sometime using the sleep function and wakeup wakes up the sleep if there is an active sleep in progress. Would love for any expert to see if what I'm doing is correct and idiomatic. https://github.com/gpahal/durable-execution/blob/main/durable-execution/src/utils.ts