Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the FBP definition of the usage tutorial #188

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 5 additions & 2 deletions site/_documentation/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Define how the participants form a network (in [.FBP DSL](https://github.com/flo

# FILE: myservice.fbp
repeater(Repeat) OUT -> IN out(Output)
# The noflo component also waits for an options IP
repeater(Repeat) OUT -> OPTIONS out(Output)

Setup the network

Expand All @@ -29,5 +31,6 @@ Setup the network
Send some data to input

msgflo-send-message --queue repeater.IN --json '{ "foo": "bar" }'
# Should now see output from 'out' participant
# after having traveled through NoFlo and node.js participants
# Should now see output from 'out' participant, after having traveled through NoFlo
# and node.js participants (the message will be printed twice, once for the IN port,
# once for OPTIONS port)