• Parameters

    • pullObject: { propertyName: string; value: any }

      The original pushObject to be used.

    • context: HookContext

    Returns
        | Promise<{ propertyName: string; value: any }>
        | { propertyName: string; value: any }

    The pullObject to be used instead of the original pullObject specified by the caller. Returning a rejected promise will block the operation and will return a rejected promise to the caller as well as trigger the onFailure() hook.

    A hook that is triggered before pull() operation.