Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Commit 629a053

Browse files
rogerhuflovilmart
authored andcommitted
Update README.md (#133)
1 parent 3c716d2 commit 629a053

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ subscription.handleEvent { query, event in
4848

4949
You can also handle a single type of event, if that's all you're interested in:
5050
```swift
51-
subscription.handle(Event.Created) { query, object in
51+
// Note it's handle(), not handleEvent()
52+
subscription.handle(Event.created) { query, object in
5253
// Called whenever an object was created
5354
}
5455
```

0 commit comments

Comments
 (0)