forEach(failable:handler:)

    Executes the given handler for every element of the cursor.

    Cursor.swift:120
    @discardableResult func forEach(failable: Bool = false, handler: @escaping (Element) async throws -> Void) -> Task<Void, Error>

    Parameters

    handler

    A handler to execute on every result

    Returns

    A future that resolves when the operation is complete, or fails if an error is thrown

    Other members in extension

    Instance members