FfiStreamCloser

open class FfiStreamCloser : FfiStreamCloserProtocol, @unchecked Sendable

Undocumented

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

    Declaration

    Swift

    open func end()
  • endAndWait() Asynchronous

    End the stream and asynchronously wait for it to shutdown

    Declaration

    Swift

    open func endAndWait() async throws
  • Undocumented

    Declaration

    Swift

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

    Undocumented

    Declaration

    Swift

    open func waitForReady() async