Function getEffectId

  • Function to get a new, unique EffectId.

    Returns

    Type Parameters

    • InputType

      specifies the type for the corresponding effects input

    • ResultType

      specifies the type for the corresponding effects result

    • ErrorType = unknown

      specifies the type error-type for the effect. Use never for effects that cannot error.

    Parameters

    • Optional nameExtension: string

      an optional extension to the symbol name (so the string representation). Usually you should not need this.

    Returns EffectId<InputType, ResultType, ErrorType>

Generated using TypeDoc