M MY Multiplayer: Wiki
Side
Kind

getLatentEventHandles

Client

Lists the latent events this client is still sending to the server.

Also exists on the server, with its own implementation: getLatentEventHandles

table getLatentEventHandles()

Returns

A table of the handles, oldest first. Every resource's are included; a finished transfer leaves the list.

Example

triggerLatentServerEvent("onPlayerSaveDrawing", 20000, localPlayer, { strokes = {} })

local handles = getLatentEventHandles()
local lastHandle = handles[#handles]

See also