com.davfx.ninio.script.ScriptRunner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ninio Show documentation
Show all versions of ninio Show documentation
A Java NIO HTTP client/server as light as possible
package com.davfx.ninio.script;
import com.davfx.ninio.common.Closeable;
import com.davfx.ninio.common.Failable;
public interface ScriptRunner extends AutoCloseable, Closeable {
void register(String function, SyncScriptFunction syncFunction);
void register(String function, AsyncScriptFunction asyncFunction);
void prepare(String script, Failable fail, Runnable end);
interface Engine {
void register(String function, SyncScriptFunction syncFunction);
void register(String function, AsyncScriptFunction asyncFunction);
void eval(String script, Failable fail, Runnable end);
}
Engine engine();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy