diff --git a/teaspoon-processor/src/main/java/teaspoon/ExecuteEngineFactory.java b/teaspoon-processor/src/main/java/teaspoon/ExecuteEngineFactory.java index e3fd0ce..86c7e39 100644 --- a/teaspoon-processor/src/main/java/teaspoon/ExecuteEngineFactory.java +++ b/teaspoon-processor/src/main/java/teaspoon/ExecuteEngineFactory.java @@ -36,4 +36,8 @@ public void runOnUiThread(Runnable runnable, int delay) { public void runOnBackgroundThread(Runnable runnable) { threadExecutor.submit(runnable); } + + public ExecutorService getThreadExecutor() { + return threadExecutor; + } }