invoke

open operator override fun invoke(token: OutputCallbackToken<O>): List<O>

Relays invocations to the registered callbacks whose tokens matches token.

The return values of registered callbacks that are in inactive states (unless otherwise indicated by runWhileStopped when being registered) or that returned null are discarded and will not be included in the returned list.

Return

The returned values of the callbacks with active Lifecycles.

Parameters

token

The token identifying the registered callbacks that should be invoked.