Skip to content

Latest commit

 

History

History
73 lines (38 loc) · 1.02 KB

File metadata and controls

73 lines (38 loc) · 1.02 KB
id faastjs.faastmoduleproxy.off
title FaastModuleProxy.off() method
hide_title 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.