MCPcopy
hub / github.com/chakra-ui/chakra-ui / Task

Interface Task

packages/cli/src/utils/tasks.ts:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5type MessageFn = (message: string) => void
6
7interface Task {
8 title: string
9 task: (message: MessageFn) => MaybePromise<string | void>
10 enabled?: boolean
11}
12
13export const tasks = async (tasks: Task[]) => {
14 for (const task of tasks) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected