Skip to content

Commit

Permalink
RxPortal; SetAccepted (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelquigley committed Aug 26, 2021
1 parent 8572db4 commit 6afbacb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rxportal.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ func NewRxPortal(transport Transport, txp *TxPortal, seq *util.Sequence, closer
return rxp
}

func (rxp *RxPortal) SetAccepted(accepted int32) {
rxp.accepted = accepted
}

func (rxp *RxPortal) Read(p []byte) (int, error) {
preread:
for {
Expand Down

0 comments on commit 6afbacb

Please sign in to comment.