Skip to content

Commit d0e7251

Browse files
committed
fixup: handler name flexibility
Signed-off-by: Todd Baert <[email protected]>
1 parent 8da59ab commit d0e7251

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

specification.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,14 +668,14 @@
668668
{
669669
"id": "Requirement 5.2.1",
670670
"machine_id": "requirement_5_2_1",
671-
"content": "The `client` MUST provide an `addHandler` function for associating callbacks with `provider events`, which accepts an `event type` and a `event handler function`.",
671+
"content": "The `client` MUST provide a function for associating callbacks with `provider events`, which accepts an `event type` and a `event handler function`.",
672672
"RFC 2119 keyword": "MUST",
673673
"children": []
674674
},
675675
{
676676
"id": "Requirement 5.2.2",
677677
"machine_id": "requirement_5_2_2",
678-
"content": "The `API` MUST provide an `addHandler` function for associating callbacks with `provider events`, which accepts an `event type` and a `event handler function`.",
678+
"content": "The `API` MUST provide a function for associating callbacks with `provider events`, which accepts an `event type` and a `event handler function`.",
679679
"RFC 2119 keyword": "MUST",
680680
"children": []
681681
},

specification/sections/05-events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ See [event metadata](../types.md#error-event-details)
5858

5959
#### Requirement 5.2.1
6060

61-
> The `client` **MUST** provide an `addHandler` function for associating callbacks with `provider events`, which accepts an `event type` and a `event handler function`.
61+
> The `client` **MUST** provide a function for associating callbacks with `provider events`, which accepts an `event type` and a `event handler function`.
6262
6363
```java
6464
// run the myClientOnReadyHandler function when the PROVIDER_READY event is fired
@@ -69,7 +69,7 @@ see: [provider events](#51-provider-events)
6969

7070
#### Requirement 5.2.2
7171

72-
> The `API` **MUST** provide an `addHandler` function for associating callbacks with `provider events`, which accepts an `event type` and a `event handler function`.
72+
> The `API` **MUST** provide a function for associating callbacks with `provider events`, which accepts an `event type` and a `event handler function`.
7373
7474
```java
7575
// run the myGlobalErrorHandler function when the PROVIDER_READY event is fired

0 commit comments

Comments
 (0)