MCPcopy Create free account
hub / github.com/TyberiusPrime/KeyToKey / future_handler_id

Method future_handler_id

src/lib.rs:136–139  ·  view source on GitHub ↗

predict the next or further out hander_ids returned by add_handler Needed to add space cadets before the layers they toggle.

(&self, offset: usize)

Source from the content-addressed store, hash-verified

134 /// predict the next or further out hander_ids returned by add_handler
135 /// Needed to add space cadets before the layers they toggle.
136 pub fn future_handler_id(&self, offset: usize) -> HandlerID {
137 let current = self.output.ro_state().modifiers_and_enabled_handlers.len() - 1;
138 current + offset
139 }
140
141 /// handle an update to the event stream
142 ///

Callers 1

test_space_cadet_layerFunction · 0.80

Calls 1

ro_stateMethod · 0.80

Tested by 1

test_space_cadet_layerFunction · 0.64