Skip to content

Commit

Permalink
[FABN-1335]-Reference event handling
Browse files Browse the repository at this point in the history
Signed-off-by: lesleyannj <[email protected]>
Change-Id: I843be29b366c10e9943be310b53f83fa54481331
  • Loading branch information
lesleyannjordan committed Oct 3, 2019
1 parent d9c7e0d commit 067b627
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/tutorials/transaction-commit-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ await gateway.connect(connectionProfile, connectOptions);
Specifying `null` as the event handling strategy will cause transaction
invocations to return immediately after successfully sending the endorsed
transaction to the orderer. It will not wait for any commit events to be
received from peers.
received from peers. For more details on *Event Handling Options*, see [DefaultEventHandlerOptions](module-fabric-network.Gateway.html#~DefaultEventHandlerOptions__anchor).

### Plug-in event handlers

Expand Down Expand Up @@ -83,6 +83,8 @@ const gateway = new Gateway();
await gateway.connect(connectionProfile, connectOptions);
```

For more details on *Event Handling Options*, see [DefaultEventHandlerOptions](module-fabric-network.Gateway.html#~DefaultEventHandlerOptions__anchor).

The *transaction event handler* object returned must implement the following
lifecycle functions.

Expand Down

0 comments on commit 067b627

Please sign in to comment.