faast.js

faast.js

  • Docs
  • API
  • Community
  • GitHub
  • Blog

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.

  • FaastModuleProxy.off() method
  • Parameters
  • Remarks
faast.js
Docs
IntroductionAPI ReferenceContributingExamples
Community
DiscordTwitterStack Overflowfaast.js
More
BlogUser Showcase
Copyright © 2025 Andy Chou