Instance Methodswift-nio 2.81.0NIOCore
yield(_:)
Yields the element to the inbound stream.
- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
func yield(_ element: Inbound)
Parameters
- element
The element to yield to the inbound stream.
Yields the element to the inbound stream.
func yield(_ element: Inbound)
s7NIOCore28NIOAsyncChannelInboundStreamV10TestSourceV5yieldyyxF
What are these?1X7PW
The element to yield to the inbound stream.
import NIOCore
The core abstractions that make up SwiftNIO.
struct TestSource
A source used for driving a NIOAsyncChannelInboundStream
during tests.
struct NIOAsyncChannelInboundStream<Inbound> where Inbound : Sendable
The inbound message asynchronous sequence of a NIOAsyncChannel
.
func finish(throwing error: Error? = nil)
Finished the inbound stream.