Skip to main content

run_view_definition_with_options_remote

Function run_view_definition_with_options_remote 

Source
pub async fn run_view_definition_with_options_remote(
    view_definition: SofViewDefinition,
    bundle: SofBundle,
    content_type: ContentType,
    options: RunOptions,
    config: &RemoteResolveConfig,
) -> Result<Vec<u8>, SofError>
Expand description

Runs a ViewDefinition with remote resolve() enabled.

When config is active, references pointing at trusted (allowlisted) servers are fetched up-front and folded into the resolution pool before the (synchronous) row generation runs. When inactive, this behaves exactly like run_view_definition_with_options. Remote resolution applies to the (non-streaming) Bundle path only.