Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Make Async.whenIdle() restore context and pass parameters to the callback - #5528

Closed
gruehle wants to merge 1 commit into
masterfrom
glenn/async-params
Closed

gruehle wants to merge 1 commit into
masterfrom
glenn/async-params

Conversation

@gruehle

@gruehle gruehle commented Oct 15, 2013

Copy link
Copy Markdown
Member

@peterflynn

This pull request adds two improvements to Async.whenIdle():

  • Restore context (i.e. this) for callback
  • Pass parameters to the callback function

Unit tests added.

@ghost ghost assigned peterflynn Oct 15, 2013
@iwehrman iwehrman mentioned this pull request Oct 17, 2013
@gruehle

gruehle commented Oct 18, 2013

Copy link
Copy Markdown
Member Author

Closing since Aysnc.whenIdle() was removed in #5539

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