Skip to main content

ReloadFn

Type Alias ReloadFn 

Source
pub type ReloadFn = fn(&mut World, &str, &str, &SourceMap) -> Option<Result<(), ScriptError>>;
Expand description

Swap a live host’s program for a hot reload: (world, source, uri, map), map saying where each piece of source was read from. None when the host is not installed.