Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class RpcException(val exceptionId: String = "")
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class RpcInterface(val stubName: String = "")

Marks interface that defines flow getters and methods.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class RpcMethod(val endpoint: String = "")
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class RpcState(val endpoint: String = "", val creatable: Boolean = false)

Marks Cbor-serializable object that is used as RPC state and implements an interface exposed through RPC (and marked with RpcInterface annotation).