Skip to content

Toro Cloud Dev Center


FluxFunctions

The Flux class contains functions that are used to manage Flux engine lifecycles. Functions of this class can be used in both Gloop and Groovy. Below are examples of usage:

Sample service showing how to use the `Flux` functions

1
2
3
4
5
// Run a Flux service
'io.toro.careers.Interview'.fluxExecute()

// Send an event
'hired'.fluxSendEvent( ["developer", "it"] as Set)