MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / notify

Function notify

ses.cjs:8660–8670  ·  view source on GitHub ↗
(updater)

Source from the content-addressed store, hash-verified

8658 // If still tdz, register update for notification later.
8659 // Otherwise, update now.
8660 const notify= (updater)=>{
8661 if( updater=== init) {
8662 // Prevent recursion.
8663 return;
8664 }
8665 if( tdz) {
8666 arrayPush(optUpdaters|| [], updater);
8667 }else {
8668 updater(value);
8669 }
8670 };
8671
8672 // Need these for additional exports of the local variable.
8673 fixedGetNotify= {

Callers 1

importsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected