RestrictsSuspension

@Target([AnnotationTarget.CLASS]) annotation class RestrictsSuspension (source)

Platform and version requirements: Kotlin 1.1

Classes and interfaces marked with this annotation are restricted when used as receivers for extension suspend functions. These suspend extensions can only invoke other member or extension suspend functions on this particular receiver only and are restricted from calling arbitrary suspension functions.

Constructors

<init>

RestrictsSuspension()

Classes and interfaces marked with this annotation are restricted when used as receivers for extension suspend functions. These suspend extensions can only invoke other member or extension suspend functions on this particular receiver only and are restricted from calling arbitrary suspension functions.