Interface: PatchRecorderOptions
Patch recorder options.
Properties
filter?
optional filter?: (patches, inversePatches) => boolean;
An optional callback filter to select wich patches to record/skip. It will be executed before the event is added to the events list.
Parameters
| Parameter | Type | Description |
|---|---|---|
patches | Patch[] | Patches about to be recorded. |
inversePatches | Patch[] | Inverse patches about to be recorded. |
Returns
boolean
true to record the patch, false to skip it.
onPatches?
optional onPatches?: OnPatchesListener;
An optional callback run once a patch is recorded. It will be executed after the event is added to the events list.
Param
patches
Patches just recorded.
Param
inversePatches
Inverse patches just recorded.
recording?
optional recording?: boolean;
If the patch recorder is initially recording when created.