Skip to main content
Version: 2.4

Correct Control Flow implementation

Values must be returned before the Control Flow.

Recommended
Thanks to the On Value brick, the output Control Flow is set after the Get Geolocation output, so that the users of the brick will always have that output set when reading the Control Flow.

Correct Control Flow implementation

Avoid doing this
The output Control Flow is set before the Get Geolocation output, and users of the brick may have null or the previous value when reading the Control Flow.

Correct Control Flow implementation