Skip to main content

Module methods

Module methods 

Source
Expand description

The object serviceโ€™s methods, one function each. A method answers Ok with its reply, or Err with the reply that ends the call early (a bad argument, a refusal).

Functionsยง

apply_events ๐Ÿ”’
Writes each event the reducer emitted to the store, stopping at the first failure.
apply_layout_intent ๐Ÿ”’
arg ๐Ÿ”’
The argument at idx, or the reply that refuses the call for it.
close_pane ๐Ÿ”’
create_block ๐Ÿ”’
create_block_tab ๐Ÿ”’
The tab a CreateBlock call targets: an explicit tabId argument, else the contextโ€™s active tab.
delete_block ๐Ÿ”’
get_object ๐Ÿ”’
get_objects ๐Ÿ”’
meta_command ๐Ÿ”’
The reducer command that patches the meta of the object oref names, or None for an object type the reducer doesnโ€™t own.
mirror_agent_zoom ๐Ÿ”’
Per-agent zoom persistence (SPEC_AGENT_ZOOM_PERSISTENCE): when an agent blockโ€™s term:zoom changes, mirror it (debounced) into the agentโ€™s per-agent ui:zoom content so the zoom survives the block and is restored at agent.open. Only blocks carrying agentId (agent panes) participate; everything else is untouched. A null term:zoom (the frontendโ€™s reset-to-1.0 convention) deletes the saved value so a default agent stores nothing.
quit_agent ๐Ÿ”’
reducer_error ๐Ÿ”’
The message of the first Error event the reducer emitted, if any.
row_update ๐Ÿ”’
shutdown_agent ๐Ÿ”’
shutdown_preview ๐Ÿ”’
update_object_meta_patch ๐Ÿ”’
update_object_row ๐Ÿ”’
update_tab_name ๐Ÿ”’
updated_row_reply ๐Ÿ”’
The reply that returns the updated block or tab so the frontend MOS cache stays in sync.

Type Aliasesยง

Reply ๐Ÿ”’