zyn.Notifications#
/// A PostgreSQL-backed notification delivery capability supplied to application code.
pub const Notifications = struct {
/// Persists and executes one notification inline, recording its outcome.
pub fn deliver_now(
self: *Notifications,
comptime selected_notification: []const u8,
args: anytype,
) !void;
/// Persists one notification and queues it through the background-job worker.
pub fn deliver_later(
self: *Notifications,
comptime selected_notification: []const u8,
args: anytype,
) !void;
};