Skip to content
Developer Preview

DiscardedSessions

The two sets, exposed directly rather than behind add/has pairs.

PendingCommandSet takes the commandIds set BY REFERENCE and writes to it from discardEphemeral(), so a wrapper would have to re-expose a mutable seam anyway; a Set<string> is the honest shape for one, and it is already the shape that class used internally.

Property Type Stability Presence Description
commandIds Set<string> required commandIds an ephemeral discharge retired. Never replayed again.
sessionIds Set<string> required sessionIds whose ephemeral host died. Never reattached.
Method Signature Stability Description
constructor new DiscardedSessions()
Source

clients/sdk-ts/src/facade/discarded.ts:32

{
"kind": "Class",
"canonicalPath": "DiscardedSessions"
}