examples Package: Basic Gloop Steps
Gloop steps are statements in Gloop. There are multiple
types of Gloop steps, each used for a specific purpose. The
examples package provides
services demonstrating the various ways each of the basic Gloop steps could be used.
Not really asynchronous when debugging
Please take note that due to some limitations in the Coder debugger, asynchronous steps are executed synchronously when debugging. If you'd like to test asynchronous steps in an asynchronous fashion, the Invoke in Browser (or Invoke in New Tab) option should be used to invoke the Gloop service. To do this, right-click the service and select Invoke In Browser (or Invoke in New Tab) from the context menu.
Please see the following articles for more information:
Running the Service
1 2 3 4 5 6 7 8 9 10 11 12 13
examples ├── ... └── code └── ... └── basicSteps ├── BlockStep.gloop ├── ConcurrentStep.gloop ├── ForkStep.gloop ├── GloovyStep.gloop ├── IterateStep.gloop ├── MapStep.gloop ├── RandomStep.gloop └── WhileBreakStep.gloop
Each service is named after the step it demonstrates the usage of. Simply run these services to familiarize yourself with the different step types; line comments are provided for further explanation.
The break step example is already included in the
WhileBreakStep.gloop service as by itself,
a break step cannot demonstrate its intended use.