trio-asyncio icon indicating copy to clipboard operation
trio-asyncio copied to clipboard

Add instrumentation hooks

Open smurfix opened this issue 6 years ago • 1 comments

Trio-asyncio runs in a separate Trio task. The current instrumentation hooks for Trio capture when that task is running (or not), but not what it's doing internally. Thus I probably need to think about adding a couple of new hooks that report queuing/removing timers/callbacks.

smurfix avatar Apr 30 '18 12:04 smurfix

From #37, moved here to consolidate: "Use trio's instrumentation to add some callbacks related to trio_asyncio. Specifically, queuing and executing asyncio handles should be more tractable."

I think instead of adding our own hooks we might want to create one asyncio task per Trio task and vice versa and use coroutine transportation as discussed in #42.

oremanj avatar May 09 '20 06:05 oremanj