Function createTopic

  • Creates a topic channel object with the given name and schema

    Returns

    The topic channel object

    Type Parameters

    Parameters

    • name: string

      Name of the channel

    • schema: ZodType<T, ZodTypeDef, T>

      Schema of the channel

    Returns TopicChannel<T>

Generated using TypeDoc