InvocationKind

enum InvocationKind : Enum<InvocationKind>

Specifies how many times a function invokes its function parameter in place.

See ContractBuilder.callsInPlace for the details of the call-in-place function contract.

Since Kotlin

1.3

Entries

UNKNOWN
Link copied to clipboard

A function parameter is called in place, but it's unknown how many times it can be called.

EXACTLY_ONCE
Link copied to clipboard

A function parameter will be invoked exactly one time.

AT_LEAST_ONCE
Link copied to clipboard

A function parameter will be invoked one or more times.

AT_MOST_ONCE
Link copied to clipboard

A function parameter will be invoked one time or not invoked at all.

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int