mahler
Version:
A automated task composer and HTN based planner for building autonomous system agents
11 lines (10 loc) • 534 B
TypeScript
import type { Context, TaskOp } from './context';
import type { PathType, Root } from '../path';
import type { Action } from './instructions';
export declare const NoAction: () => Promise<void>;
export declare const NoEffect: () => undefined;
/**
* A NoOp task is a task that does not change the state, it can
* be added to the plan under some condition for debugging purposes
*/
export declare function NoOp<TState = any, TPath extends PathType = Root, TOp extends TaskOp = '*'>(ctx: Context<TState, TPath, TOp>): Action<TState>;