Subject.execute

Associates the specified {@code Runnable} with this {@code Subject} instance and then executes it on the currently running thread. If you want to execute the {@code Runnable} on a different thread, it is better to use the {@link #associateWith(Runnable)} method instead. <p/> <b>Note</b>: This method is primarily provided to execute existing/legacy Runnable implementations. It is better for new code to use {@link #execute(Callable)} since that supports the ability to return values and catch exceptions.

@param runnable the {@code Runnable} to associate with this {@code Subject} and then execute.

interface Subject
void
execute
(
Runnable runnable
)

Meta