SessionStanding

works.iterative.claude.ui.transcript.SessionStanding
See theSessionStanding companion enum

Attributes

Companion
enum
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def of(resultsSeen: Long, awaited: Long): SessionStanding

Where a session a host holds stands, from what it has been asked and what it has answered.

Where a session a host holds stands, from what it has been asked and what it has answered.

A session is working from the moment something is handed to it until the result that answers it has been counted. The counter never goes backwards and is readable at any time, so this is a comparison rather than a race: no turn is modelled, and none needs to be.

Value parameters

awaited

the count a host is waiting for it to reach, from the last thing it was asked

resultsSeen

how many results the session has produced

Attributes

def read(word: String): Option[SessionStanding]

A standing, read back off the wire.

A standing, read back off the wire.

Attributes

Concrete fields

val eventName: String

The kind of message a standing arrives as, so a page can tell it from a tail without reading either.

The kind of message a standing arrives as, so a page can tell it from a tail without reading either.

Attributes

Extensions

Extensions

extension (standing: SessionStanding)
def canBeTold: Boolean

Whether a session in this standing is one a page may talk to.

Whether a session in this standing is one a page may talk to.

Attributes