Skip to content

ensureAsync#769

Merged
aearly merged 4 commits intomasterfrom
ensure_async
May 26, 2015
Merged

ensureAsync#769
aearly merged 4 commits intomasterfrom
ensure_async

Conversation

@aearly
Copy link
Collaborator

@aearly aearly commented May 25, 2015

Adds a new utility function for wrapping async functions. It ensures that the function always calls is callback on a later tick in the event loop. I'm also considering using this function internally to prevent stack overflows with synchronous iteration functions.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.25%) to 94.61% when pulling 7c7326b on ensure_async into f71193a on master.

@aearly
Copy link
Collaborator Author

aearly commented May 26, 2015

I feel like there's a better name for this function, but going to use ensureAsync for now.

aearly added a commit that referenced this pull request May 26, 2015
@aearly aearly merged commit 1b258fb into master May 26, 2015
@aearly aearly deleted the ensure_async branch May 26, 2015 16:27
@aearly aearly restored the ensure_async branch June 8, 2015 01:30
@megawac megawac deleted the ensure_async branch April 12, 2016 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants