| 57 | } |
| 58 | |
| 59 | void aVoidAPI(void* context, void (*completed)(void* context)) |
| 60 | { |
| 61 | // Execute some work asynchronously on some other thread. When its |
| 62 | // work is finished, pass the result to the callback. |
| 63 | scope_.spawn(ex::starts_on(pool_.get_scheduler(), |
| 64 | ex::then(ex::just(), [=]() noexcept { completed(context); }))); |
| 65 | } |
| 66 | }; |
| 67 | |
| 68 | TEST_CASE_METHOD(create_test_fixture, |
nothing calls this directly
no test coverage detected