Event Listener
Listener for metrics events. Extend this class to monitor WireRun and all schema handlers involved in the Protobuf schema manipulation.
The events' order is as follows:
runStart
loadSchemaStart
loadSchemaSuccess
treeShakeStart
treeShakeEnd
moveTypesStart
moveTypesEnd
schemaHandlersStart // Looping over all handlers.
schemaHandlerStart
schemaHandlerEnd
schemaHandlersEnd
runSuccess / runFailed
Functions
Invoked prior to loading the Protobuf schema. this includes parsing .proto
files, and resolving all referenced types.
Invoked after having loaded the Protobuf schema. this includes parsing .proto
files, and resolving all referenced types.
Invoked after having refactored the Protobuf schema by applying the moves.
Invoked after Wire has executed all operations.
Invoked after a schema handler has finished.
Invoked after having executed all schema handler.
Invoked prior to executing all schema handler.
Invoked prior a schema handler starting.
Invoked after having refactored the Protobuf schema by tree-shaking it using the pruning rules.
Invoked prior to refactoring the Protobuf schema by tree-shaking it using the pruning rules.