Skip to content

Commit c54d903

Browse files
Remove duration paramter from stop block help docs
1 parent 6b03f6a commit c54d903

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/ml_on_event_stop_detailed.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@ When an action changes, the stop event handler for the previous action will run,
1111

1212
For example, if your start event handler for an action starts music playing in the background, you could use a stop event handler to stop it.
1313

14-
The event handler is passed a `duration` parameter. The duration is the number of milliseconds since this action became the estimated action. You can use the duration parameter in your code, for example displaying it or using a variable to keep a running total.
14+
The event handler is passed a `duration` parameter. The duration is the [number](/types/number) of milliseconds since this action became the estimated action. You can use the duration parameter in your code, for example displaying it or using a variable to keep a running total.
1515

1616
## Parameters
1717

1818
- **event**: one of the actions the machine learning model was trained on. The special value `unknown` represents the case where no action has a certainty above the recognition point.
19-
- **duration**: the [number](/types/number) of milliseconds the action was the estimated action.
2019

2120
## Example
2221

0 commit comments

Comments
 (0)