observeBrick()
function observeBrick(
$,
brick,
inputs,
waitForValue?): Observable<any[]>;
Execute the given Brick and observe 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 |
waitForValue? | boolean | whether the observable should wait for values (default = true) |
Returns
Observable<any[]>
an observable giving the outputs of the brick