Skip to main content

Module resources

Module resources 

Expand description

Resources a widget publishes: the tree of open tilo_actions::ResourceSpecs with the actions each exports to the palette, agents and scripts, and the bounded pages the broker’s pull directory reads.

A widget takes part by providing PublishesResources; the host reaches every laid-out widget through its node map with the functions below.

Traits§

PublishesResources

Functions§

action_directory_invocation_domain
widget’s invocation-domain coverage.
action_directory_resource_page
action_directory_revision
action_directory_visibility
The action disclosing container resource_id of widget, if any.
admits_outside_document
Whether operation may be published on on by a widget below its component’s root: views and effects may, a document mutation never does.
caller_view_resources
document_action_result
The first PublishesResources::document_action_result in widget’s tree, depth first. A publisher that wraps another forwards to it.
outside_document
resource without document actions, at any depth: what a widget below its component’s root may publish. The root is the one boundary that speaks for the resource; every host walk publishes and dispatches what the rest of the tree adds through this.
resolved_outside_document
resource, resolved by id below its component’s root, without document actions. A lookup is asked for ids the root publishes too (an item of its own), so this drops them without complaint: the root’s publication carries them.
resource
Resolve resource id in widget.
resource_for
Resolve resource id in participant’s tree of widget.
resource_pending
Whether resource id of widget may resolve once what it reads lands (PublishesResources::resource_pending).
resources
resources_for
widget’s resources as participant sees them.
shared_resources
The resources widget has open, as a shared forest (PublishesResources::shared_resources_for).