Skip to content

Latest commit

 

History

History
123 lines (59 loc) · 1.42 KB

faastjs.functionstatsevent.md

File metadata and controls

123 lines (59 loc) · 1.42 KB
id title hide_title
faastjs.functionstatsevent
FunctionStatsEvent class
true

faastjs > FunctionStatsEvent

FunctionStatsEvent class

Summarize statistics about cloud function invocations.

Signature:

export declare class FunctionStatsEvent 

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the FunctionStatsEvent class.

Properties

Property

Modifiers

Type

Description

fn

readonly

string

The name of the cloud function the statistics are about.

stats

readonly

FunctionStats

See FunctionStats.

Methods

Method

Modifiers

Description

toString()

Returns a string summarizing the statistics event.