FaastModule interface
The main interface for invoking, cleaning up, and managing faast.js cloud functions. Returned by faast().
Signature:
export interface FaastModule<M extends object>
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
ProxyModule<M> |
Each call of a cloud function creates a separate remote invocation. | ||
|
Similar to FaastModule.functions except each function returns a Detail object | |||
|
See Provider. |
Methods
|
Method |
Description |
|---|---|
|
Stop the faast.js runtime for this cloud function and clean up ephemeral cloud resources. | |
|
Get a near real-time cost estimate of cloud function invocations. | |
|
The URL of logs generated by this cloud function. | |
|
Deregister a callback for statistics events. | |
|
Register a callback for statistics events. | |
|
Statistics for a specific function or the entire faast.js module. |