Skip to main content
alarm(_info): Promise<void>
Reserved: the SDK claims the actor’s alarm slot to drive the task scheduler. When the alarm fires, this drains every due task, dispatches each to the method it names (or onTask), and re-arms the alarm to the next deadline. Do not override alarm() in an Agent subclass — doing so breaks queue / schedule / every. If you need timed work, schedule a task instead. Parameters Returns Promise<void> Overrides StatefulActor.alarm