SynchronousExecutor

public class SynchronousExecutor
extends Object implements Executor

java.lang.Object
   ↳ androidx.work.test.SynchronousExecutor


Is an implementation of a Executor which executes Runnable's synchronously.

Summary

Public constructors

SynchronousExecutor()

Public methods

void execute(Runnable command)

Inherited methods

Public constructors

SynchronousExecutor

SynchronousExecutor ()

Public methods

execute

void execute (Runnable command)

Parameters
command Runnable