Pure aggregate for independent navigation and yank flash owners.
Replacing, advancing, or cancelling one leaf never changes the other leaf.
Summary
Functions
Advances only the matching navigation generation.
Advances only the matching yank generation.
Cancels only the navigation flash.
Cancels only the yank flash.
Records only the navigation timer handle.
Records only the yank timer handle.
Replaces only the navigation flash.
Replaces only the yank flash.
Types
@type t() :: %MingaEditor.Shell.Traditional.Flashes{ nav: MingaEditor.Shell.Traditional.NavFlash.t(), yank: MingaEditor.Shell.Traditional.YankFlash.t() }
Functions
@spec advance_yank(t(), MingaEditor.Shell.Traditional.YankFlash.generation()) :: {:continue | :done | :stale, t()}
Advances only the matching yank generation.
Cancels only the yank flash.
@spec record_yank_timer( t(), MingaEditor.Shell.Traditional.YankFlash.generation(), reference() ) :: t()
Records only the yank timer handle.
@spec replace_yank( t(), pid(), MingaEditor.Shell.Traditional.YankFlash.position(), MingaEditor.Shell.Traditional.YankFlash.position(), MingaEditor.Shell.Traditional.YankFlash.range_type() ) :: t()
Replaces only the yank flash.