View Source Inngest.Client (Inngest v0.1.9)

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.

Link to this function

httpclient(type, opts \\ [])

View Source
@spec httpclient(:event | :inngest | :register, Keyword.t()) :: Tesla.Client.t()

Returns an HTTP client for making requests against Inngest.

Link to this function

send(payload, opts \\ [])

View Source
@spec send(Inngest.Event.t() | [Inngest.Event.t()], Keyword.t()) ::
  :ok | {:error, binary()}

Send one or a batch of events to Inngest