| id | faastjs.faastmoduleproxy.off |
|---|---|
| title | FaastModuleProxy.off() method |
| hide_title | 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.