Skip to content

Commit

Permalink
docs: fix a small misspelling in API.md (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
pturley0 authored Nov 8, 2023
1 parent 676adfb commit 1224324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ You can get it's pointer by `client.socket(namespace)`.
#### Event Emitter
`void emit(std::string const& name, message::list const& msglist, std::function<void (message::ptr const&)> const& ack)`

Universal event emition interface, by applying implicit conversion magic, it is backward compatible with all previous `emit` interfaces.
Universal event emission interface, by applying implicit conversion magic, it is backward compatible with all previous `emit` interfaces.

#### Event Bindings
`void on(std::string const& event_name,event_listener const& func)`
Expand Down

0 comments on commit 1224324

Please sign in to comment.