This commit is contained in:
2026-03-13 13:25:26 +03:00
parent 5976fcd0b8
commit 589e11b22d
11 changed files with 319 additions and 268 deletions

View File

@@ -1,13 +1,3 @@
// Package laniakea provides a system for managing background and one-time
// runner functions that operate on a Bot instance, with support for
// asynchronous execution, timeouts, and lifecycle control.
//
// Runners are used for periodic tasks (e.g., cleanup, stats updates) or
// one-time initialization logic. They are executed via Bot.ExecRunners().
//
// Important: Runners are not thread-safe for concurrent modification.
// Builder methods (Onetime, Async, Timeout) must be called sequentially
// and only before Execute().
package laniakea
import (