Skip to main content

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​

ParameterTypeDescription
patchesPatch[]Patches about to be recorded.
inversePatchesPatch[]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.