Files
services/examples/function/list/node/listFunctions.js

11 lines
272 B
JavaScript
Executable File

import * as fx from "m3o/function";
// List all the deployed functions
async function ListFunctions() {
let functionService = new fx.FunctionService(process.env.MICRO_API_TOKEN);
let rsp = await functionService.list({});
console.log(rsp);
}
await ListFunctions();