UnownedJob

    A unit of scheduleable work.

    iOS
    13.0+
    macOS
    10.15+
    tvOS
    13.0+
    watchOS
    6.0+
    @frozen struct UnownedJob

    Unless you’re implementing a scheduler, you don’t generally interact with jobs directly.

    An UnownedJob must be eventually run exactly once using runSynchronously(on:). Not doing so is effectively going to leak and “hang” the work that the job represents (e.g. a Task).

    Citizens in _Concurrency

    Conformances

    Members