SummerWorldChannel · Inherits: RefCounted
An admitted participant’s private handle to a World channel.
Open through Summer.client.channels. A handle stays bound to its original admission and never retargets after leave or reconnect into another World. Games own the UI. The Engine initially publishes the newest two authorized messages, ordered by sequence; explicit older history expands the window to at most sixteen. Invalidation clears that window immediately and reloads the newest two. History is best effort, not a lossless event log. Keep UI text synchronized with history_changed and treat text as plain text, not markup. A receipt proves acceptance, not incoming delivery.
Methods
get_channel_key
get_messages
SummerChannelMessage[]
is_closed
is_history_loaded
is_history_current() before displaying it.
Returns: bool
is_history_current
send_message
Returns:
SummerChannelSendOperation
Returns at once. Wait for the result with var result: SummerResult = await op.get_result_or_completed_signal(); see SummerOperation.
refresh
history_failed to request recovery.
Returns: SummerChannelMessagesOperation
Returns at once. Wait for the result with var result: SummerResult = await op.get_result_or_completed_signal(); see SummerOperation.
load_older
SummerChannelMessagesOperation
Returns at once. Wait for the result with var result: SummerResult = await op.get_result_or_completed_signal(); see SummerOperation.
close
Signals
message_received
history_changed
get_messages() again.
history_failed
refresh() to retry explicitly.
closed
What is live on the platform today: platform capability status. Check availability at runtime before you offer a feature.

