Skip to content

Commit 91e5d75

Browse files
authored
Merge pull request #109 from maxschmeling/patch-1
Adds return info for addListener
2 parents cf406a5 + d63b467 commit 91e5d75

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ Adds an event listener, possibly confined to a single upload.
205205

206206
`listener` Function to call when the event occurs.
207207

208+
Returns an [EventSubscription](https://github.com/facebook/react-native/blob/master/Libraries/vendor/emitter/EmitterSubscription.js). To remove the listener, call `remove()` on the `EventSubscription`.
209+
208210
## Events
209211

210212
### progress

0 commit comments

Comments
 (0)