... | ... | @@ -18,7 +18,7 @@ An example stage is the `Merger`. |
|
|
- Inherit from `AbstractProducerStage`, if you want to write a stage that does not need to have any input ports.
|
|
|
In this way, you get a stage with a pre-initialized producer semantics.
|
|
|
Moreover, you can access a default output port named `outputPort`.
|
|
|
**Note:** You need to place a `terminate()` call within your `execute` method to signal the framework when your producer stage has finished its job.
|
|
|
**Note:** You need to place a `workCompleted()` call within your `execute` method to signal the framework when your producer stage has finished its job.
|
|
|
Example producer stages are the `Clock` and the `InitialElementProducer`.
|
|
|
|
|
|
## What Code Shall I Write?
|
... | ... | |