Type alias NymphQueryCallback

NymphQueryCallback: ((nymph, options, selectors) => void)

Type declaration

    • (nymph, options, selectors): void
    • The NymphQueryCallback will be called on both top level and qref queries.

      This is the only callback that is not asynchronous.

      This also isn't necessarily run on every "query". It is run before a database query for an entity, but it is not run during PubSub entity change propagation. Therefore, it shouldn't do anything entity specific, instead it should be query specific. For example, throw an error if the user is not permitted to run the query at all.

      Parameters

      Returns void

Generated using TypeDoc