Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync method should pass the task back. #59

Merged
merged 1 commit into from Feb 22, 2020

Conversation

BMorearty
Copy link

I'd like to be able to call Sync do |task| and have it pass the task to my callback so I can access the task without another call to Async::Task.current.

Added a test for this.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.16% when pulling 2a79c1a on BMorearty:sync-task into 3ccd3c2 on socketry:master.

@ioquatix ioquatix merged commit b07edb4 into socketry:master Feb 22, 2020
@ioquatix
Copy link
Member

That makes total sense. Thanks.

@ioquatix ioquatix added this to the v1.25.0 milestone Feb 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants