• Callback to set context information onto the scope.

    Parameters

    • callback: (scope: Scope) => void

      Callback function that receives Scope.

    Returns ReturnType<Hub["configureScope"]>

    Use getCurrentScope() directly.