toggle menu
router
1.3.0-rc2
androidJvm
switch theme
search in API
router
/
com.therouter.app.flowtask.lifecycle
/
FlowTask
Flow
Task
@
Retention
(
value
=
RetentionPolicy.SOURCE
)
@
Target
(
allowedTargets
=
[
AnnotationTarget.FUNCTION
,
AnnotationTarget.PROPERTY_GETTER
,
AnnotationTarget.PROPERTY_SETTER
]
)
annotation class
FlowTask
(
val
taskName
:
String
,
val
dependsOn
:
String
=
""
,
val
async
:
Boolean
=
false
)
元注解,用于定义一个初始化任务 Created by ZhangTao on 17/8/11.
Members
Properties
async
Link copied to clipboard
val
async
:
Boolean
=
false
depends
On
Link copied to clipboard
val
dependsOn
:
String
task
Name
Link copied to clipboard
val
taskName
:
String