Skip to content

Scripting API / inspection/subinspections/SubInspectionListener

inspection/subinspections/SubInspectionListener

Modules

Module Description
External -

Classes

SubInspectionListener

Extends

Methods

addEventListener()

addEventListener(eventType, handler): ScriptEventSubscription

Binds the given function to an event fired by one or more sub-inspections. Returns a GUID that can be used to remove the added event

Parameters
Parameter Type Description
eventType SubInspectionEventType Type of event to bind to (e.g. 'afterStart'). Valid types are determined by the EventType generic.
handler EventHandler<SubInspectionEventOptions> -
Returns

ScriptEventSubscription

Inherited from

GSEventListener.addEventListener

Type Aliases

SubInspectionEventOptions

SubInspectionEventOptions = object

Properties

Property Type
subInspectionId? string