
io.github.vipcxj.jasync.ng.runtime.promise.ThunkAndContext Maven / Gradle / Ivy
package io.github.vipcxj.jasync.ng.runtime.promise;
import io.github.vipcxj.jasync.ng.spec.JContext;
import io.github.vipcxj.jasync.ng.spec.JThunk;
public class ThunkAndContext {
private final JThunk thunk;
private final JContext context;
ThunkAndContext(JThunk thunk, JContext context) {
this.thunk = thunk;
this.context = context;
}
public JThunk getThunk() {
return thunk;
}
public JContext getContext() {
return context;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy