@@ -13,21 +13,7 @@ import AnimationFrame from "../util/animation-frame";
1313 * This makes it easier to use with inline lambda functions rather than
1414 * requiring consumers to wrap their action in a `useCallback`. To change
1515 * this behavior, see the `actionPolicy` option.
16- * @param options Options for the hook.
17- * @param options.actionPolicy Determines how the action is handled when it
18- * changes. By default, the action is replaced but the request is not reset,
19- * and the updated action will be invoked when the frame next fires.
20- * If you want to reset the request when the action changes, use
21- * `ActionPolicy.Reset`.
22- * @param options.clearPolicy Determines how the request is cleared when the
23- * component is unmounted or the request is recreated. By default, the
24- * request is cancelled immediately. If you want to let the request run to
25- * completion, use `ClearPolicy.Resolve`. This policy is also used as the
26- * default when calling `clear()` manually with no argument. Pass an explicit
27- * `ClearPolicy` to `clear(policy)` to override it for a specific call.
28- * @param options.schedulePolicy Determines when the request is scheduled.
29- * By default, the request is made immediately. If you want to delay
30- * scheduling the request, use `SchedulePolicy.OnDemand`.
16+ * @param options Options for the hook. See `HookOptions` for details.
3117 * @returns An `IAnimationFrame` API for interacting with the given request.
3218 * This API is a no-op if called when not mounted. This means that any calls
3319 * prior to mounting or after unmounting will not have any effect. This API is
0 commit comments