Skip to content

Can we have a public method to terminate async handle task of pop/push immediately for sync usage, like unity job system Complete? #44

@burakkurkcu

Description

@burakkurkcu

Hi, first of all thanks for this package.

Today I updated package from 1.7.0 to 1.7.3 and it broke my sync usage like:

mainPageContainer.Pop(blabla);
mainPageContainer.Push(blabla, loadAsync:false);

I believe due to refactorings made in 1.7.2, now it throws exception as new assert for checking if transition handler is still transitioning. And in the new async handle flow, handle task won't be terminated before next line like it would in sync.

I think it would be nice to have a public method to terminate async handle task immediately to be able to use it as sync, like unity job system Complete method. I could make a custom workaround tweaks maybe but it prevents using this package as git package in unity package manager.

What do you think?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions