For main objects:
const app = new FunctionApp();
export const helloFunction = new AzureFunction("HelloFunction", sayHello);
vs.
const app = functionApp();
export const helloFunction = azureFunction("HelloFunction", sayHello);
For config-type settings
app.onTrigger(new HttpTrigger("api/bye", ["GET"]), goodbyeFunction);
vs.
const httpOptions: HttpOptions {
route: "api/bye",
method: ["GET"]
};
app.onTrigger(httpOptions, goodbyeFunction);
vs.
app.onTrigger(httpTrigger("api/bye", ["GET"]), goodbyeFunction);
Relevant issue... statefulness vs persistence: #5
For main objects:
vs.
For config-type settings
vs.
vs.
Relevant issue... statefulness vs persistence: #5