Action: {
description?: string;
method: ((payload, brick) => Promise<any>);
name?: string;
}
Type declaration
-
Optional
description?: string
-
method: ((payload, brick) => Promise<any>)
-
- (payload, brick): Promise<any>
-
Returns Promise<any>
-
Optional
name?: string
Represents an action in a step with an optional name, description and a method. To be used in a Step of a Program.