BotMessageRootOptions
Defined in: packages/core/src/message/index.ts:41
Type Parameters
Section titled “Type Parameters”Host
Message
Section titled “Message”Message
Snapshot
Section titled “Snapshot”Snapshot
Interaction
Section titled “Interaction”Interaction
Properties
Section titled “Properties”client
Section titled “client”
readonlyclient:MessageRootClientShape|undefined
Defined in: packages/core/src/message/index.ts:46
readonlyhost:Host
Defined in: packages/core/src/message/index.ts:44
interaction
Section titled “interaction”
readonlyinteraction: (interaction,root) =>Effect<void>
Defined in: packages/core/src/message/index.ts:47
Parameters
Section titled “Parameters”interaction
Section titled “interaction”Interaction
BotMessageRoot<Host, Message, Snapshot, Interaction>
Returns
Section titled “Returns”Effect<void>
refresh?
Section titled “refresh?”
readonlyoptionalrefresh?: () =>void
Defined in: packages/core/src/message/index.ts:54
Queues the live tree’s current snapshot so resume can repaint it.
Returns
Section titled “Returns”void
readonlyscope:Closeable
Defined in: packages/core/src/message/index.ts:43
The Scope that owns the renderer, target and timer fibers.
session?
Section titled “session?”
readonlyoptionalsession?:RootSession
Defined in: packages/core/src/message/index.ts:55
snapshot
Section titled “snapshot”
readonlysnapshot:Effect<State>
Defined in: packages/core/src/message/index.ts:52
Encodes the mounted tree’s current models for a later resume.
target
Section titled “target”
readonlytarget:MessageTarget<Message,Snapshot>
Defined in: packages/core/src/message/index.ts:45