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

feat(loop): flushGlobalEffects for manual loop manipulation #2481

Merged
merged 3 commits into from Sep 4, 2022

Conversation

CodyJasonBennett
Copy link
Member

@CodyJasonBennett CodyJasonBennett commented Sep 1, 2022

Continues #2351. Exposes global effects for when manually driving a loop via advance.

function flushGlobalEffects('before' | 'after' | 'tail', timestamp: number): void
//
flushGlobalEffects('after', performance.now())

@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 1, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 28b22b5:

Sandbox Source
example Configuration

@CodyJasonBennett CodyJasonBennett merged commit 20eef27 into master Sep 4, 2022
@CodyJasonBennett CodyJasonBennett deleted the feat/flush-global-effects branch September 4, 2022 17:44
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

1 participant