What is Nostr?
Andrew /
npub1qrd…lnxl
2024-09-02 13:44:46

Andrew on Nostr: we have a bit of code that runs background jobs which are allowed to fail sometimes, ...

we have a bit of code that runs background jobs which are allowed to fail sometimes, which we call fireAndForget. in the test environment, it keeps a list of all the jobs its tried to do so we can assert later that they did in fact succeed

the function that checks up on them is called listenForForgottenPromises and it's just occured to me now how poetic that name is
Author Public Key
npub1qrdah0a7qgtj68jyymef9yhjf6983c5m4yv8p9auymf9fwsl0w7s6nlnxl