4 ms·
I looked through the docs and I don't see any async methods, is that built into inflight like this code snippet I found? queue.setConsumer(inflight (body: str)
by nathan_tarbert 3y ago
I looked through the docs and I don't see any async methods, is that built into inflight like this code snippet I found?
queue.setConsumer(inflight (body: str): str => {
let next = counter.inc();
let key = "myfile-{next}.txt";
bucket.put(key, body);
});
- eladbenisrael 3y agoYap, all inflight code is async by default.
- nathan_tarbert 3y agoOk, thanks for clarifying. That is pretty slick