executeBrick()
function executeBrick(
$,
brick,
inputs): Promise<any[]>;
Execute the given Brick and return its outputs Details and examples here: https://support.olympe.io/code_tutorials/execute_brick
Parameters
| Parameter | Type | Description |
|---|---|---|
$ | BrickContext | The current brick context |
brick | BrickReference | The brick to execute |
inputs | any[] | The inputs passed to the executed brick |
Returns
Promise<any[]>
a promise giving the outputs of the brick as an array