Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hpehl committed May 13, 2024
1 parent 30dd483 commit 5438f2d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,25 @@ Flow.repeat(new FlowContext(),currentTime)
.iterations(5)
.subscribe(context -> console.log("Current time: " + context.pop("n/a")));
```

## Dependency

Add the following dependency to use `elemento-flow`:

```xml

<dependency>
<groupId>org.jboss.elemento</groupId>
<artifactId>elemento-flow</artifactId>
<version>1.6.0</version>
</dependency>
```

In your GWT module, inherit from `org.jboss.elemento.Flow`:

```xml

<module>
<inherits name="org.jboss.elemento.Logger"/>
</module>
```

0 comments on commit 5438f2d

Please sign in to comment.