EventType

The kind of swarm event being broadcast.

Names are stable wire identifiers — reordering is fine, but renaming breaks any client that pinned to the string form.

Entries

Link copied to clipboard
Link copied to clipboard

A DataPoint captured a fresh Snapshot.

Link copied to clipboard

A Server.Pin flipped between ON and OFF.

Link copied to clipboard

An LLM-related event (request/response/streaming chunk).

Link copied to clipboard

A node was deleted.

Link copied to clipboard

A node was created.

Link copied to clipboard

Server acknowledgement of a client message.

Link copied to clipboard

One of a node's configured sources changed; the receiver is woken with the originating node's identity and verb. See SourceTriggerPayload.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard
fun valueOf(value: String): EventType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.