Function subscribeFirstRest

  • Subscribes to the given store with two subscriber functions provided. The first function is invoked on the initial subscription. All future updates are dispatched to the subscriber function.

    Type Parameters

    • T

      type of data.

    Parameters

    Returns Unsubscriber

    Store unsubscribe function.