Hi! I have a little endpoint that looks like this ...
# coroutines
g
Hi! I have a little endpoint that looks like this
Copy code
val numbers = it.bodyAsString.parseJsonList<Numbers>()
processedNumbers = numberService.process(numbers)
GlobalScope.launch {
    sqsService.sendToSqs(processedNumbers)
}
it.response.setStatusCode(204).end()
It looks like this because the producer does only need the acknowledge after the numbers have been processed so I do the GlobalScope.launch to do a fire and forget in a parallel track to be able to immediately respond to the producer What would be the “best practice” way of doing this with structured currency? Should I create my own scope (like fireAndForgetScope instead of GlobalScope)?