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.


    SubscriptionSet.update for more information.

Generated using TypeDoc