MCPcopy Create free account
hub / github.com/PerroEngine/Perro / push

Function push

perro_source/api_modules/perro_steamworks/src/events.rs:13–17  ·  view source on GitHub ↗
(event: SteamEvent)

Source from the content-addressed store, hash-verified

11}
12
13pub(crate) fn push(event: SteamEvent) {
14 if let Ok(mut queue) = queue().lock() {
15 queue.push(event);
16 }
17}
18
19pub fn poll_one() -> Result<Option<SteamEvent>, SteamError> {
20 let _ = crate::app::run_callbacks();

Callers 6

enqueue_callbackFunction · 0.70
push_lobby_listFunction · 0.70
push_lobby_createFunction · 0.70
push_lobby_joinFunction · 0.70
queue_drains_in_orderFunction · 0.70
clear_removes_eventsFunction · 0.70

Calls 1

queueFunction · 0.70

Tested by 2

queue_drains_in_orderFunction · 0.56
clear_removes_eventsFunction · 0.56