You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a Resolver is created and the first loop of resolveContinuously() is run before Resolve becomes true then the coroutine will not be run again.
It works in the Complex Outlet Inlet sample because the subscriber registers before the next while loop.
Any subscriber afterwards only benefit from using the resolver if Resolve remains true during the lifetime of the resolver. This limits the scalability of using Resolvers in a project.
The coroutine could be moved to run in the Update loop:
If a
Resolver
is created and the first loop ofresolveContinuously()
is run beforeResolve
becomes true then the coroutine will not be run again.It works in the Complex Outlet Inlet sample because the subscriber registers before the next while loop.
Any subscriber afterwards only benefit from using the resolver if Resolve remains true during the lifetime of the resolver. This limits the scalability of using Resolvers in a project.
The coroutine could be moved to run in the Update loop:
Or for the coroutine to be started/stopped on change in subscribers:
The text was updated successfully, but these errors were encountered: