minca

Interface: StartAutomationsOptions

Defined in: packages/std/src/automations.ts:692

Extends

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
accountreadonlystringThe account running them: a person's, for their app or agent, or a bot's own-packages/std/src/automations.ts:694
ask?readonly(trigger) => Promise<Pick<{ at: string; did: string; made?: string; ok: boolean; }, "did" | "ok">>Does what an automation asks an agent. Without it, automations that ask are left to a runner that can.RunAutomationsOptions.askpackages/std/src/automations.ts:453
bot?readonlybooleanA bot, running as an account of its own: nothing it writes sets an automation offRunAutomationsOptions.botpackages/std/src/automations.ts:449
busy?readonlySet<string>Records being acted on now, shared across calls so a second look leaves them aloneRunAutomationsOptions.busypackages/std/src/automations.ts:457
claimMs?readonlynumberHow long to wait after claiming a record before acting, to hear whether a device of the same account claimed it too; the earlier claim acts and the later steps back. 0, the default, doesn't wait.RunAutomationsOptions.claimMspackages/std/src/automations.ts:463
notify?readonlyAutomationNotifierShows a notification. Without it, a notify automation's run says nothing could.RunAutomationsOptions.notifypackages/std/src/automations.ts:451
now?readonly() => Date--packages/std/src/automations.ts:702
onError?readonly(error) => void--packages/std/src/automations.ts:699
onRules?readonly(rules) => voidCalled with the automations it runs, whenever they change-packages/std/src/automations.ts:698
onRun?readonly(trigger, run) => voidEach time an automation actedRunAutomationsOptions.onRunpackages/std/src/automations.ts:465
tickMs?readonlynumberHow often the time is checked against every. Default 15 s.-packages/std/src/automations.ts:701
timed?readonlybooleanWhether automations run at the times they name; an app open now and then leaves that to an always-on runner. Default true.-packages/std/src/automations.ts:696
title?readonly(record) => stringWhat a record is called, for {title}RunAutomationsOptions.titlepackages/std/src/automations.ts:455

On this page