org.polkadot.rpc.provider.IProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of polkadot-java Show documentation
Show all versions of polkadot-java Show documentation
Java Polkadot API, this is a clone of https://github.com/polkadot-java/api
The newest version!
package org.polkadot.rpc.provider;
import com.onehilltech.promises.Promise;
import org.polkadot.common.EventEmitter;
import java.util.List;
public interface IProvider {
@FunctionalInterface
interface CallbackHandler {
/**
* Performs this operation on the given arguments.
*
* @param t the first input argument
* @param u the second input argument
*/
void callback(T t, U u);
}
class SubscriptionHandler {
CallbackHandler