Queries regarding lifetime of Job passed to executor

The UnownedJob has the same semantics as ExecutorJob, just that it is unsafe in the sense that the type system does not help you with the “run it just once”. If you run it twice you’ll cause undefined behavior (bad bad things).

See docs: UnownedJob | Apple Developer Documentation

1 Like