public virtual GoFuture <string> GetText(string path) { GoPromise <string> result = asyn.DeferredPromise <string>(); asyn.InvokeAsync(new TextRunnable(result, path, this)); return(result); }
public DeferredPromiseRunnable(int m, GoPromise <T> p, T val, System.Exception c) { this._mode = m; this._promise = p; this._value = val; this._cause = c; }
public GoFuture <sbyte[]> GetBytes(string path) { GoPromise <sbyte[]> result = asyn.DeferredPromise <sbyte[]>(); asyn.InvokeAsync(new ByteRunnable(result, path, this)); return(result); }
internal ByteRunnable(GoPromise <sbyte[]> res, string path, Assets assets) { this._result = res; this._path = path; this._assets = assets; }
internal TextRunnable(GoPromise <string> res, string path, Assets assets) { this._result = res; this._path = path; this._assets = assets; }
public FailerImpl(GoPromise <System.Exception> outerInstance) { this.outerInstance = outerInstance; }
public SucceederImpl(GoPromise <T1> outerInstance) { this.outerInstance = outerInstance; }