Skip to content
Type

OutputEvents

Describes the events that an Output emits, with each key being an event name and its value being the event data.

ts
type OutputEvents = {
	target: {
		target: Target;
		request: TargetRequest | null;
		isRoot: boolean;
	};
};

See Target and TargetRequest.

Properties

target

ts
target: { target: Target; request: TargetRequest | null; isRoot: boolean; };

Emitted whenever a Target is obtained by the output. Useful to track writes.

See Target and TargetRequest.

Released under the Mozilla Public License 2.0.