Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Allow Challenger::tick to take async callback. #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jgrund
Copy link

@jgrund jgrund commented Jun 14, 2023

There are cases where we may want to do some async work in the Challenger::tick callback. Since Challenger::tick itself is async, it's trivial to make the callback async as well.

This allows users to do non-blocking work inside the callback.

There are cases where we may want to do some async work in the
`Challenger::tick` callback. Since `Challenger::tick` itself is
async, it's trivial to make the callback async as well.

This allows users to do non-blocking work inside the callback.

Signed-off-by: Joe Grund <[email protected]>
@jgrund
Copy link
Author

jgrund commented Jun 16, 2023

Hi, any thoughts on this?

@laduke
Copy link

laduke commented Jun 16, 2023

Hey! Thanks for writing this up. There's not really anyone up to speed yet to review it.
Do the tests still pass for you, out of curiosity?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants