Functions

interface Functions

A Functions manager to call remote Atlas Functions for the associated Atlas App Services Application.

Functions are invoked using the extension function Functions.call.

See also

Properties

Link copied to clipboard
abstract val app: App

The App that this function manager is associated with.

Link copied to clipboard
abstract val user: User

The User that this function manager is authenticated with.

Functions

Link copied to clipboard
inline suspend fun <T> Functions.call(name: String, vararg args: Any?): T

Invokes an Atlas function.

inline suspend fun <T> Functions.call(name: String, callBuilderBlock: CallBuilder<T>.() -> Unit): T

Invokes an Atlas function using the EJson encoder defined in AppConfiguration.ejson.