Promise.withResolvers for workers?

Is this supported? I'd have to change the TS config to the right target, but I'm not sure if it's supported. I'm trying to create cross-function messaging so I can have a request handler wait for an alarm to go off before responding (flush interval) in case there's a better way to do that
1 Reply
DanTheGoodman
DanTheGoodmanOP4w ago
I just ended up using the event emitter and promises to wait

Did you find this page helpful?