MCPcopy
hub / github.com/python-trio/trio / deliver

Function deliver

src/trio/_core/_tests/test_thread_cache.py:28–29  ·  view source on GitHub ↗
(outcome: Outcome[object])

Source from the content-addressed store, hash-verified

26 raise RuntimeError("hi")
27
28 def deliver(outcome: Outcome[object]) -> None:
29 q.put(outcome)
30
31 start_thread_soon(fn, deliver)
32

Calls 4

start_thread_soonFunction · 0.85
putMethod · 0.80
addMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…