Skip to content

@pumpkin-plugins/distant-horizons-support-pumpkin API / session/transfer / sendQueuedPackets

Function: sendQueuedPackets() ​

sendQueuedPackets(state, peers): void

Defined in: packages/distant-horizons-support-pumpkin/src/session/transfer.ts:55

Sends queued packets to clients in rotating order within the per-tick packet limits and each client's byte credit, finishing a client's in-flight transfer before it starts another.

Parameters ​

state ​

SessionState

peers ​

Peers

Returns ​

void

pumpkin-plugins documentation