This PR ensures that traverseFiber will only halt when true is passed to a selector. This forces selectors to return a boolean and will continue as an effect in any other case, including if a method returns a truthy value.
Additionally, Fiber types are hardened to show interoperability, and useContainer now returns Container.containerInfo by default. As a result, the Container type is removed. A new type ContainerInstance represents the internal container instance.
This PR ensures that
traverseFiber
will only halt whentrue
is passed to a selector. This forces selectors to return a boolean and will continue as an effect in any other case, including if a method returns a truthy value.Additionally, Fiber types are hardened to show interoperability, and
useContainer
now returnsContainer.containerInfo
by default. As a result, theContainer
type is removed. A new typeContainerInstance
represents the internal container instance.