View Source Inngest.Client (Inngest v0.1.3)
Module representing an Inngest client (subject to change).
Summary
Functions
Retrieves the registration information from the Dev server.
Returns an HTTP client for making requests against Inngest.
Send one or a batch of events to Inngest
Functions
Retrieves the registration information from the Dev server.
@spec httpclient(:event | :inngest | :register, Keyword.t()) :: Tesla.Client.t()
Returns an HTTP client for making requests against Inngest.
@spec send(Inngest.Event.t() | [Inngest.Event.t()], Keyword.t()) :: :ok | {:error, binary()}
Send one or a batch of events to Inngest