Bonfire.Common.ObanHelpers (Bonfire v1.0.0-social-rc.3.22)

View Source

Summary

Functions

Cancel all active jobs of a specific operation type for a user.

Get job statistics for a user (by user_id/username) or all jobs if user_id and username are nil.

List jobs for a user (by user_id/username) or all jobs if user_id and username are nil.

Functions

cancel_jobs_by_type_for_user(repo, user_id, username, op_code)

Cancel all active jobs of a specific operation type for a user.

job_stats(repo, user_id \\ nil, username \\ nil, filters \\ %{})

Get job statistics for a user (by user_id/username) or all jobs if user_id and username are nil.

list(repo, opts)

list_jobs(repo, user_id \\ nil, username \\ nil, opts \\ [])

List jobs for a user (by user_id/username) or all jobs if user_id and username are nil.