Skip to content

Commit

Permalink
improvement(docs): updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
marksalpeter committed Sep 2, 2021
1 parent e568cb1 commit d66613e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ If you have another common use case you would like to see covered by this packag

## Functions

### func [Buffer](/buffer.go#L5)

`func Buffer(size int, in <-chan interface{}) <-chan interface{}`

Buffer creates a buffered channel that will close after the input
is closed and the buffer is fully drained

### func [Cancel](/cancel.go#L9)

`func Cancel(ctx context.Context, cancel func(interface{}, error), in <-chan interface{}) <-chan interface{}`
Expand Down

0 comments on commit d66613e

Please sign in to comment.