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

Add some coroutines utility functions #704

Merged
merged 5 commits into from
Sep 27, 2024
Merged

Conversation

chippmann
Copy link
Contributor

@chippmann chippmann commented Sep 27, 2024

This adds the following coroutine utility functions:

  • awaitDeferred -> like callDeferred but for cotoutines. helpful to run stuff on the main thread from a coroutine
  • awaitLoad -> load resources with progress from coroutines

@CedNaru CedNaru self-requested a review September 27, 2024 11:58
CedNaru
CedNaru previously approved these changes Sep 27, 2024
@chippmann chippmann changed the title Add awaitDeferred Add some coroutines utility functions Sep 27, 2024
@chippmann chippmann force-pushed the feature/add-await-deferred branch from 5c76ac4 to bdb030e Compare September 27, 2024 13:23
@chippmann chippmann requested a review from CedNaru September 27, 2024 13:43
@chippmann chippmann merged commit 04d5cf0 into master Sep 27, 2024
50 checks passed
@chippmann chippmann deleted the feature/add-await-deferred branch September 27, 2024 15:05
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.

2 participants