Function cxAliasAsset

  • Creates aliasing context entry asset.

    Type Parameters

    • TAsset

      Context value asset type.

    Parameters

    • entry: CxEntry<unknown, TAsset>

      Target context entry.

    • alias: CxEntry<TAsset, unknown>

      Context entry which value is used as an asset of the target entry.

    • Optional supply: Supply

      Asset supply. Removes the created asset once cut off.

    Returns CxAsset<unknown, TAsset>

    New context entry asset.

Generated using TypeDoc