EventOperation: (
    draft: EventTemplate,
    context: EventFactoryContext,
) => EventTemplate | Promise<EventTemplate>

A single operation in the factory process

Type declaration

    • (
          draft: EventTemplate,
          context: EventFactoryContext,
      ): EventTemplate | Promise<EventTemplate>
    • Parameters

      Returns EventTemplate | Promise<EventTemplate>