@@ -128,14 +128,12 @@ export interface TaskContext {
|
||||
|
||||
getTaskState?(): Promise<
|
||||
| {
|
||||
state: {
|
||||
[key: string]:
|
||||
| { status: 'failed'; reason: string }
|
||||
| {
|
||||
status: 'success';
|
||||
value: JsonValue;
|
||||
};
|
||||
};
|
||||
[key: string]:
|
||||
| { status: 'failed'; reason: string }
|
||||
| {
|
||||
status: 'success';
|
||||
value: JsonValue;
|
||||
};
|
||||
}
|
||||
| undefined
|
||||
>;
|
||||
|
||||
Reference in New Issue
Block a user