Stream
@objc(GSStream)
public protocol Stream
Base stream interface.
-
Current state.
Declaration
Swift
var state: StreamState { get }
-
Opens a sink on the stream.
Declaration
Swift
func openSink(config: StreamSinkConfig) -> StreamSink
Parameters
config
sink configuration
Return Value
the opened sink