Function moonshine_save::load::load_from_file_on_event
source · pub fn load_from_file_on_event<R>() -> LoadPipelinewhere
R: LoadFromFileRequest + Event,
Expand description
A LoadPipeline
like load_from_file
which is only triggered if a LoadFromFileRequest
Event
is sent.
Note: If multiple events are sent in a single update cycle, only the first one is processed.