mahler
Version:
A automated task composer and HTN based planner for building autonomous system agents
11 lines (10 loc) • 433 B
TypeScript
import type { Action } from '../task';
import { Method } from '../task';
/**
* Packs an instruction into something that can be tested as a function
*
* If the instruction is a method, it will be expanded into a list of actions before
* being executed. If a condition in the action sequence fails, no changes will be performed
* to the state.
*/
export declare function zip<T>(ins: Method<T> | Action<T>): (t: T) => Promise<T>;