API

Function subscribeFgEvent

  • Subscribe handler to a channel. Returns an unsubscribe function. Handlers fire in subscription order — callers control ordering by the order in which they subscribe (see runtime init-priority).

    Parameters

    Returns () => void