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

app
Link copied to clipboard
abstract val app: App

The App that this function manager is associated with.

user
Link copied to clipboard
abstract val user: User

The User that this function manager is authenticated with.

Extensions

call
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.