We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1105fc commit a9570ccCopy full SHA for a9570cc
tokio/tests/task_hooks.rs
@@ -378,9 +378,10 @@ fn run_override(mut builder: runtime::Builder) {
378
}
379
380
impl TaskHookHarness for TestHooks {
381
- fn on_task_terminate(&mut self, _ctx: &mut OnTaskTerminateContext<'_>) {
+ fn before_poll(&mut self, _ctx: &mut BeforeTaskPollContext<'_>) {
382
self.counter.fetch_add(1, Ordering::SeqCst);
383
384
+
385
fn on_child_spawn(
386
&mut self,
387
_ctx: &mut OnChildTaskSpawnContext<'_>,
0 commit comments