blob: e7e08db90b1ab9b6a755e4c027011324cf4c3013 [file]
package org.mozilla.javascript;
import java.io.Serializable;
/**
* This interface makes it possible to pass a lambda function to the various methods in
* LambdaConstructor and LambdaFunction that require a Callable that is also Serializable. Code that
* works with lambdas will largely "not notice" this interface, but it will make it possible for
* lambda-based classes to work with serialization like older Rhino native classes.
*/
public interface SerializableCallable extends Callable, Serializable {}