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