Welshman Docs / @welshman/net / socketPolicyCloseInactive
Function: socketPolicyCloseInactive() ​
socketPolicyCloseInactive(
socket
): () =>void
Defined in: packages/net/src/policy.ts:123
Auto-closes inactive sockets, and re-opens sockets with pending messages
Parameters ​
socket ​
a Socket object
Returns ​
a cleanup function
():
void
Returns ​
void