PhoenixKitWeb.Live.Modules.Jobs.Index (phoenix_kit v2.52.2)

Copy Markdown View Source

The Jobs page: three tabs.

  • Runs (the default) — job runs (PhoenixKit.Jobs): long background work with its state, progress and history, and the controls to pause, resume, cancel and retry it for those who may (jobs.manage). Live over PubSub.
  • Queue — Oban's own jobs, for debugging, with filtering by queue, state and worker.
  • Scheduled — one-shot tasks to run at a time.

The tab, the Runs filters, the opened run and the page live in the query string, so any view is a link.

Summary

Functions

handle_event(binary, arg2, socket)

Callback implementation for Phoenix.LiveView.handle_event/3.

handle_info(arg1, socket)

Callback implementation for Phoenix.LiveView.handle_info/2.

handle_url_state(state, socket)

Callback implementation for PhoenixKitWeb.Live.UrlState.handle_url_state/2.

mount(params, session, socket)

Callback implementation for Phoenix.LiveView.mount/3.

render(assigns)

Callback implementation for Phoenix.LiveView.render/1.