Table of Contents

Struct ResourceMutationEventArgs

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

Event args for NodeMutated. Raised on Add/Remove; carries the minimal identification needed to invalidate subscribers' caches without forcing a full graph copy.

public readonly struct ResourceMutationEventArgs
Inherited Members

Properties

Kind

Whether the node was added or removed (Mutated is a reserved forward-compat slot, not raised).

public ResourceMutationKind Kind { get; init; }

Property Value

ResourceMutationKind

NodeId

Id of the node that was added or removed.

public string NodeId { get; init; }

Property Value

string

ParentId

Id of the parent the node was attached to or detached from.

public string ParentId { get; init; }

Property Value

string

Timestamp

UTC time at which the mutation was raised.

public DateTime Timestamp { get; init; }

Property Value

DateTime

Type

ResourceType of the affected node.

public ResourceType Type { get; init; }

Property Value

ResourceType