• A utility function that will add metadata to the list under current context's key

    Parameters

    • key: string

      the list's key (string) in the context

    • metadata: Record<string, unknown>

      the metadata (key-value pair), to be added to the context

    Returns void