WeivData API Reference | ExWeiv Apps
    Preparing search index...

    Function afterGet

    • Type Parameters

      Parameters

      • item: CItem

        The item that was retrieved from the collection.

      • context: HookContext

        Contextual information about the hook.

      Returns Record<string, any> | Promise<Record<string, any>>

      The item to return to get() instead of the retrieved item. Returning a rejected promise will not block the operation, but will return a rejected promise to the operation caller as well as trigger the onFailure() hook.

      A hook that is triggered after a get() operation.