{"modulePath":"github.com/mutablelogic/go-accessory","version":"v0.0.3","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package taskqueue\n\n## Functions\n\n```go\nfunc NewQueue(client Client, namespace string) TaskQueue\n```\nCreate a new queue with the given namespace\n\n```go\nfunc NewQueueWithDelta(client Client, namespace string, delta time.Duration) TaskQueue\n```\nCreate a new queue with the given namespace\n\n```go\nfunc NewTask(namespace string) *task\n```\nNewTask creates a new task with the given namespace, priority, and when the task should expire. The task is scheduled to run immediately.\n\n```go\nfunc NewTaskWithPriority(namespace string, priority int) *task\n```\nNewTaskWithPriority creates a new task with the given namespace and priority\n\n```go\nfunc NewTaskWithPriorityAndExpiresAt(namespace string, priority int, expires_at time.Time) *task\n```\nNewTaskWithPriorityAndExpiresAt creates a new task with the given namespace, priority, and when the task should expire.\n\n","path":"github.com/mutablelogic/go-accessory/pkg/taskqueue","name":"taskqueue","synopsis":"","isRedistributable":true}
