MCPcopy Create free account
hub / github.com/couchbase/couchbase-python-client / run_in_reactor_thread

Function run_in_reactor_thread

txcouchbase/tests/conftest.py:39–41  ·  view source on GitHub ↗
(fn, *args, **kwargs)

Source from the content-addressed store, hash-verified

37
38
39def run_in_reactor_thread(fn, *args, **kwargs):
40 result = threads.blockingCallFromThread(TwistedObjects._REACTOR, fn, *args, **kwargs)
41 return result
42
43
44def run_reactor(reactor):

Calls

no outgoing calls

Tested by

no test coverage detected