whenCompleteBlocking(onto:_:)

    Adds an observer callback to this EventLoopFuture that is called when the EventLoopFuture has any result. The observer callback is permitted to block.

    EventLoopFuture.swift:1752
    @preconcurrency func whenCompleteBlocking(onto queue: DispatchQueue, _ callbackMayBlock: @escaping (Result<Value, Error>) -> Void)

    Parameters

    onto

    the DispatchQueue on which the blocking IO / task specified by callbackMayBlock is scheduled.

    callbackMayBlock

    The callback that is called when the EventLoopFuture is fulfilled.

    Other members in extension

    Type members

    Instance members

    Show obsolete interfaces (9)

    Hide obsolete interfaces