DisableFun

@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class DisableFun(val dispatcher: Dispatcher = Dispatcher.SYNC, val runAfter: Array<KClass<*>> = [], val runBefore: Array<KClass<*>> = [])

Marks a function to be called during disable.

Parameters

dispatcher

Defines how the function is dispatched.

runAfter

The classes whose disable functions should be called after this function. (This function is called before them.)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard