request(sections:deadline:)

    Sends the given command document over this connection, unchanged, and awaits its message-response.

    MongoExecutor.swift:25
    func request(sections: Mongo.WireMessage.Sections, deadline: ContinuousClock.Instant) async throws -> Mongo.WireMessage

    If the task the caller of this function is running on gets cancelled, this function will close channel and return failure. This function does not check for cancellation before sending the request; it is the responsibility of the caller to check for cancellation.

    If the deadline passes without a reply from the server, this function will close channel and throw a Mongo.WireTimeoutError. This function does not check if the deadline has already passed before sending the request; it is the responsibility of the caller to check if the deadline is sensible.

    Other members in extension

    Instance members