FfiStreamCloserProtocol

public protocol FfiStreamCloserProtocol : AnyObject, Sendable

Undocumented

  • Signal the stream to end Does not wait for the stream to end.

    Declaration

    Swift

    func end()
  • endAndWait() Asynchronous

    End the stream and asynchronously wait for it to shutdown

    Declaration

    Swift

    func endAndWait() async throws
  • Undocumented

    Declaration

    Swift

    func isClosed() -> Bool
  • waitForReady() Asynchronous

    Undocumented

    Declaration

    Swift

    func waitForReady() async