@vaguevoid/fiasco / error / warnOnce
Function: warnOnce()
warnOnce(
key
,msg?
):void
Defined in: src/error.ts:35
useful for warning in a function run every frame if u only want to warn once
Parameters
key
string
a unique key to tag the warning
msg?
string
message to console.warn
Returns
void