setName

abstract suspend fun setName(newName: String): Function

Updates the function name.

Return

the updated Function instance

Parameters

newName

the new name to set (1..50 characters)

Throws

if newName is out of acceptable range