Vibe.Subagents.Scheduler (vibe v0.2.0)

Copy Markdown View Source

Scheduled subagent job execution.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

schedule(task, opts \\ [])

@spec schedule(
  String.t(),
  keyword()
) :: {:ok, Vibe.Subagents.Schedule.t()} | {:error, term()}

scheduled()

@spec scheduled() :: [Vibe.Subagents.Schedule.t()]

start_link(opts \\ [])

@spec start_link(keyword()) :: GenServer.on_start()

unschedule(id)

@spec unschedule(String.t()) :: :ok | {:error, :not_found}