Named worker that is statically guaranteed not to outlive its function #1096
Labels
Area/Lang
Relates to the Ballerina language specification
Type/Improvement
Enhancement to language design
It would be useful to be able to have a named worker that is guaranteed not to outlive the function that created it. This is not currently possible: even if the function worker waits for the named worker, the function worker may panic before the wait completes, and in that case, the named worker will outlive the function worker.
Two reasons why this is useful:
The text was updated successfully, but these errors were encountered: