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

Method send

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

Sends data through the connection - Parameter value: The value to send - Throws: ConnectionError if sending fails

(value: Response)

Source from the content-addressed store, hash-verified

19 /// - Parameter value: The value to send
20 /// - Throws: ConnectionError if sending fails
21 func send(value: Response) async throws
22
23 /// Shutdown the socket.
24 func shutdown() async

Callers 15

_resumeMethod · 0.65
initMethod · 0.65
testSocketCreationMethod · 0.65
testAdapterSocketSendMethod · 0.65
testDeviceCtlSocketMethod · 0.65
test_firstMethod · 0.65
test_lastMethod · 0.65
test_popMethod · 0.65
test_array_settorMethod · 0.65

Implementers 3

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

Calls

no outgoing calls

Tested by 13

testSocketCreationMethod · 0.52
testAdapterSocketSendMethod · 0.52
testDeviceCtlSocketMethod · 0.52
test_firstMethod · 0.52
test_lastMethod · 0.52
test_popMethod · 0.52
test_array_settorMethod · 0.52
test_firstMethod · 0.52
test_lastMethod · 0.52
test_popMethod · 0.52