Skip to content

Commit 02164bc

Browse files
committed
fixup: occurrence -> event
Signed-off-by: Todd Baert <[email protected]>
1 parent b4ccd53 commit 02164bc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

specification.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@
511511
{
512512
"id": "Condition 2.7.1",
513513
"machine_id": "condition_2_7_1",
514-
"content": "The `provider` MAY define a function for tracking the occurrence of a particular user action or application state, with parameters `occurrence key` (string, required), `evaluation context` (optional) and `occurrence details` (optional) which returns nothing.",
514+
"content": "The `provider` MAY define a function for tracking the occurrence of a particular user action or application state, with parameters `tracking event name` (string, required), `evaluation context` (optional) and `tracking event details` (optional) which returns nothing.",
515515
"RFC 2119 keyword": "MAY",
516516
"children": []
517517
},

specification/sections/02-providers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,14 +272,14 @@ See [tracking](./06-tracking.md).
272272
273273
#### Condition 2.7.1
274274
275-
> The `provider` **MAY** define a function for tracking the occurrence of a particular user action or application state, with parameters `occurrence key` (string, required), `evaluation context` (optional) and `occurrence details` (optional) which returns nothing.
275+
> The `provider` **MAY** define a function for tracking the occurrence of a particular user action or application state, with parameters `tracking event name` (string, required), `evaluation context` (optional) and `tracking event details` (optional) which returns nothing.
276276
277277
```java
278278
class MyProvider implements Tracking {
279279
//...
280280
281281
/**
282-
* Record a tracking occurrence.
282+
* Record a tracking event.
283283
*/
284284
void track(String trackingEventName, EvaluationContext context, TrackingEventDetails details): void;
285285
@@ -288,7 +288,7 @@ class MyProvider implements Tracking {
288288
```
289289
290290
The track function is a void function (function returning nothing).
291-
The track function performs side effects required to record the `occurrence` in question, which may include network activity or other I/O; this I/O should not block the function call.
291+
The track function performs side effects required to record the `tracking event` in question, which may include network activity or other I/O; this I/O should not block the function call.
292292
Providers should be careful to complete any communication or flush any relevant uncommitted tracking data before they shut down.
293293
294294
See [shutdown](#25-shutdown).

0 commit comments

Comments
 (0)