MCPcopy Create free account
hub / github.com/apple/coremltools / receive

Method receive

coremltools/modelrunner/ModelRunner/Socket.swift:16–16  ·  view source on GitHub ↗

Listens for incoming data - Returns: An AsyncStream of Input values - Throws: ConnectionError if listening fails

()

Source from the content-addressed store, hash-verified

14 /// - Returns: An AsyncStream of Input values
15 /// - Throws: ConnectionError if listening fails
16 func receive() async throws -> AsyncStream<Request>
17
18 /// Sends data through the connection
19 /// - Parameter value: The value to send

Callers 5

_resumeMethod · 0.65
initMethod · 0.65
testDeviceCtlSocketMethod · 0.65

Implementers 3

DeviceCtlSocketcoremltools/modelrunner/ModelRunner/De
AdapterSocketcoremltools/modelrunner/ModelRunner/So
PassThroughSocketcoremltools/modelrunner/ModelRunner/So

Calls

no outgoing calls

Tested by 3

testDeviceCtlSocketMethod · 0.52