Package io.aether.net.fastMeta
Class RemoteApiFuture<T extends RemoteApi>
- java.lang.Object
-
- io.aether.net.fastMeta.RemoteApiFuture<T>
-
public class RemoteApiFuture<T extends RemoteApi> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RemoteApiFuture(FastMetaApi<?,T> meta)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPermanent(io.aether.utils.interfaces.ABiConsumer<T,io.aether.utils.futures.AFuture> task)voidaddPermanent(io.aether.utils.interfaces.AConsumer<T> task)voidexecuteAll(FastFutureContext ctx, io.aether.utils.futures.AFuture sendFuture)booleanisEmpty()voidrun(io.aether.utils.interfaces.ABiConsumer<T,io.aether.utils.futures.AFuture> t)voidrun(io.aether.utils.interfaces.AConsumer<T> t)<R> io.aether.utils.futures.ARFuture<R>runRes(io.aether.utils.interfaces.ABiFunction<T,io.aether.utils.futures.AFuture,io.aether.utils.futures.ARFuture<R>> t)<R> io.aether.utils.futures.ARFuture<R>runRes(io.aether.utils.interfaces.AFunction<T,io.aether.utils.futures.ARFuture<R>> t)intsize()
-
-
-
Constructor Detail
-
RemoteApiFuture
public RemoteApiFuture(FastMetaApi<?,T> meta)
-
-
Method Detail
-
run
public void run(io.aether.utils.interfaces.AConsumer<T> t)
-
run
public void run(io.aether.utils.interfaces.ABiConsumer<T,io.aether.utils.futures.AFuture> t)
-
runRes
public <R> io.aether.utils.futures.ARFuture<R> runRes(io.aether.utils.interfaces.AFunction<T,io.aether.utils.futures.ARFuture<R>> t)
-
runRes
public <R> io.aether.utils.futures.ARFuture<R> runRes(io.aether.utils.interfaces.ABiFunction<T,io.aether.utils.futures.AFuture,io.aether.utils.futures.ARFuture<R>> t)
-
executeAll
public void executeAll(FastFutureContext ctx, io.aether.utils.futures.AFuture sendFuture)
-
addPermanent
public void addPermanent(io.aether.utils.interfaces.AConsumer<T> task)
-
addPermanent
public void addPermanent(io.aether.utils.interfaces.ABiConsumer<T,io.aether.utils.futures.AFuture> task)
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
-