Skip to content

Files

Latest commit

1215cfd · Apr 5, 2024

History

History
73 lines (38 loc) · 1.02 KB

faastjs.faastmoduleproxy.off.md

File metadata and controls

73 lines (38 loc) · 1.02 KB
id title hide_title
faastjs.faastmoduleproxy.off
FaastModuleProxy.off() method
true

faastjs > FaastModuleProxy > off

FaastModuleProxy.off() method

Deregister a callback for statistics events.

Signature:

off(name: "stats", listener: (statsEvent: FunctionStatsEvent) => void): void;

Parameters

Parameter

Type

Description

name

"stats"

listener

(statsEvent: FunctionStatsEvent) => void

**Returns:**

void

Remarks

Stops the callback listener from receiving future function statistics events. Calling FaastModule.cleanup() also turns off statistics events.