blob: 739b659eb2ddfe536fa529a09192323f486905a7 [file] [log] [blame]
/******************************************************************************
.
. This
* program and the accompanying materials are made available under the terms of
* the Eclipse Public License 2.0 which accompanies this distribution, and is
t https://www.eclipse.org/legal/epl-2.0/
t
t SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* EclipseSource - initial API and implementation
* Gunnar Wagenknecht - added support for generics
******************************************************************************/
package org.eclipse.equinox.concurrent.future;
/**
* A runner that can execute {@link IProgressRunnable}s safely. Running an
* {@link IProgressRunnable} safely means not throwing any {@link Exception}
* possibly thrown by the given {@link IProgressRunnable}.
* @since 1.1
*
*/
public interface ISafeProgressRunner {
void runWithProgress(IProgressRunnable<?> runnable);
}