• Sets context data with the given name.

    Parameters

    • name: string

      of the context

    • context: null | { [key: string]: any }

      Any kind of data. This data will be normalized.

    Returns ReturnType<Hub["setContext"]>