Type alias InitialSubscriptions

InitialSubscriptions: {
    rerunOnOpen?: boolean;
    update: ((mutableSubscriptions, realm) => void);
}

Type declaration

  • Optional rerunOnOpen?: boolean

    If true, the InitialSubscriptions.update callback will be rerun every time the Realm is opened (e.g. every time a user opens your app), otherwise (by default) it will only be run if the Realm does not yet exist.

  • update: ((mutableSubscriptions, realm) => void)

    A callback to make changes to a SubscriptionSet.

    See

    SubscriptionSet.update for more information.

      • (mutableSubscriptions, realm): void
      • A callback to make changes to a SubscriptionSet.

        Parameters

        Returns void

        See

        SubscriptionSet.update for more information.

Generated using TypeDoc