Skip to content

ActionEffect

ActionEffect = z.infer<typeof ActionEffectSchema>

Defined in: packages/protocol/src/lib/vessel.ts:208

What running an Action does beyond its declared Variant transition. See VesselActionDefinition.effect for the handler rule each value implies.

  • 'none': nothing. The framework only switches the Variant.
  • 'idempotent': an application effect that is safe to run again.
  • 'any': an application effect that may not be safe to run again.