Skip to main content

space

Function space 

Source
pub fn space(config: SpaceConfig) -> ScriptSpace
Expand description

Bind every script resource.

⚠ Bind order is resolution order (EndpointSpace takes the first grammar that matches), and urn:script:{name}’s template captures the rest of an IRI, so the two exact names go first and the bare script last. A name cannot contain :, so urn:script:x:compiled can only be the compiled form of x.