Skip to main content

Module event

Module event 

Source
Expand description

Event resource types and the EventResource struct.

Events are delivered via Server-Sent Events (SSE). The EventResource will expose a streaming list() method once SSE support is wired up (Task 3.1). For now only the data types are defined.

Structs§

EventResource
Resource accessor for the /event SSE endpoint.
FileEditedProps
Properties for EventListResponse::FileEdited.
FileWatcherUpdatedProps
Properties for EventListResponse::FileWatcherUpdated.
IdeInstalledProps
Properties for EventListResponse::IdeInstalled.
InstallationUpdatedProps
Properties for EventListResponse::InstallationUpdated.
LspClientDiagnosticsProps
Properties for EventListResponse::LspClientDiagnostics.
MessagePartRemovedProps
Properties for EventListResponse::MessagePartRemoved.
MessagePartUpdatedProps
Properties for EventListResponse::MessagePartUpdated.
MessageRemovedProps
Properties for EventListResponse::MessageRemoved.
MessageUpdatedProps
Properties for EventListResponse::MessageUpdated.
PermissionTime
Timestamp container for PermissionUpdatedProps.
PermissionUpdatedProps
Properties for EventListResponse::PermissionUpdated.
SessionDeletedProps
Properties for EventListResponse::SessionDeleted.
SessionErrorProps
Properties for EventListResponse::SessionError.
SessionIdleProps
Properties for EventListResponse::SessionIdle.
SessionUpdatedProps
Properties for EventListResponse::SessionUpdated.
StorageWriteProps
Properties for EventListResponse::StorageWrite.

Enums§

EventListResponse
A single event from the /event SSE stream.
FileWatcherEvent
Kind of file-watcher event.