blob: 614c334c14d3387081f5c49415312930c8f11a19 [file]
// TARGET_BACKEND: JVM_IR
abstract class AsyncJob {
abstract suspend fun execute(lifetime: AsyncLifetime, attempt: Int, due: DateTime, context: JobContext): JobContext
}
class OrgBootstrapRequest
class AsyncLifetime
class DateTime
class JobContext
class OrgBootstrapTriggerJob(val orgId: Long, val bootstrap: OrgBootstrapRequest, val jetSalesSync: Boolean?) : AsyncJob() {
override suspend fun execute(lifetime: AsyncLifetime, attempt: Int, due: DateTime, context: JobContext): JobContext {
return JobContext()
}
}
val name = "${OrgBootstrapTriggerJob::class.simpleName}<!EVALUATED{IR}(".")!>.<!>${OrgBootstrapTriggerJob::execute.<!EVALUATED{IR}("execute")!>name<!>}"
fun box(): String {
return "OK"
}