Flezha.SDK.TimerFiring (flezha_sdk v0.1.0)

Copy Markdown View Source

The firing Flezha.SDK.Tasklet.on_timer/3 receives: the timer's kind and the scheduled_at timestamp its registration answered, the pair Flezha.SDK.Ctx.cancel_timer/3 takes.

Summary

Types

kind()

@type kind() :: :processing_time | :event_time

t()

@type t() :: %Flezha.SDK.TimerFiring{kind: kind(), scheduled_at: non_neg_integer()}