Skip to main content

Module media_source

Module media_source 

Source
Expand description

The registry of inline-media producers (IM.6b).

The media twin of decoration_source, and the same contract: an async, off-render-path producer the host drives on a trigger, whose result it caches. The renderer NEVER calls this.

Structs§

MediaBlockRequest
One inline media block a producer wants drawn.
MediaSourceRegistry
Runtime-mutable registry of AsyncMediaSources.

Traits§

AsyncMediaSource
An async, off-render-path producer of a buffer’s inline media blocks.

Type Aliases§

MediaFuture
The boxed future an AsyncMediaSource::produce returns.
MediaSourceRegistryHandle
Boot-service handle. Register and look up with this exact alias (the ServiceRegistry TypeId rule).