diff --git a/README.md b/README.md index 4737c976..b3ce6eb9 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,8 @@ subscription.handleEvent { query, event in You can also handle a single type of event, if that's all you're interested in: ```swift -subscription.handle(Event.Created) { query, object in +// Note it's handle(), not handleEvent() +subscription.handle(Event.created) { query, object in // Called whenever an object was created } ```