Skip to main content

push_lua_wake_key

Function push_lua_wake_key 

Source
pub fn push_lua_wake_key(key: &[u8])
Expand description

Lua’s redis.call dispatch closure calls this after every wake-triggering write (LPUSH / RPUSH / XADD / ZADD / ZINCRBY). The runtime drains via [drain_lua_wake_buffer] after the outer EVAL dispatch returns and fires wake_key for each.

Cheap: one thread-local lookup + one Vec::push per call.