id | title | hide_title |
---|---|---|
faastjs.faastmoduleproxy.off |
FaastModuleProxy.off() method |
true |
faastjs > FaastModuleProxy > off
Deregister a callback for statistics events.
Signature:
off(name: "stats", listener: (statsEvent: FunctionStatsEvent) => void): void;
Parameter |
Type |
Description |
---|---|---|
name |
"stats" | |
listener |
(statsEvent: FunctionStatsEvent) => void |
void
Stops the callback listener from receiving future function statistics events. Calling FaastModule.cleanup() also turns off statistics events.