ExecutorConversation<C extends Object> class final

Which conversation's turn LiteRT-LM's executor ran last, as far as the client knows. A send to any other (or when it is not known) switches KV caches inside the native send call, which then runs off the calling isolate.

Annotations
  • @visibleForTesting

Constructors

ExecutorConversation()

Properties

hashCode → int
The hash code for this object.
no setterinherited
last → C?
The conversation the executor ran last, or null when not known.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

forget(C conv) → void
conv is gone (deleted).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ranOn(C conv) → void
conv ran on the executor (a rewind).
send(C conv) → bool
Records a send on conv; returns whether it switches.
toString() → String
A string representation of this object.
inherited
unknown() → void
Something else ran on the executor (a create, a scoring run, a render).

Operators

operator ==(Object other) → bool
The equality operator.
inherited