Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/appwrite/src/services/functions.ts>Functions#create

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Functions.prototype.create
import { Functions } from "https://deno.land/x/appwrite@0.1.1/src/services/functions.ts";

Create Function

Create a new function. You can pass a list of permissions to allow different project users or team with access to execute the function using the client API.

Parameters

name: string

name

execute: Array<any>

execute

env: string

env

optional
vars: DocumentData = [UNSUPPORTED]

vars

optional
events: Array<any> = [UNSUPPORTED]

events

optional
schedule: string = [UNSUPPORTED]

schedule

optional
timeout: number = [UNSUPPORTED]

timeout

Returns

Promise<string>

Promise