View Source Inngest.Trigger (Inngest v0.2.1)
Struct representing a function trigger.
Can either be an event
or a cron
, and they're mutually exclusive.
Examples
# defining an event trigger
%Inngest.Trigger{event: "auth/signup.email"}
# defining a cron trigger, and can accept a timezone
%Inngest.Trigger{cron: "TZ=America/Los_Angeles * * * * *"}