com.netgrif.application.engine.AsyncRunner.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
package com.netgrif.application.engine
import org.springframework.scheduling.annotation.Async
import org.springframework.stereotype.Service
@Service
class AsyncRunner {
@Async
void run(Closure closure) {
closure()
}
@Async
void execute(final Runnable runnable) {
runnable.run()
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy