Lines Matching refs:result
160 testVoid(callback: (result: void) => void): Q.IPromise<void> {
165 callback: (err: any, result: { [k: number]: { [k: number]: number; }; }) => void):
181 …testInsanity(argument: ttypes.Insanity, callback?: (err: any, result: { [k: number]: any; }) => vo…
200 …t64, arg3: { [k: number]: string; }, arg4: ttypes.Numberz, arg5: number, result: Function): Q.IPro…
202 hello.then(hello => result(null, hello));
205 testException(arg: string, result: (err: any) => void): Q.IPromise<void> {
210 result(x);
212 result(new Thrift.TException(arg));
214 result(null);
218 …testMultiException(arg0: string, arg1: string, result: (err: any, res?: ttypes.Xtruct) => void): Q…
223 result(x);
229 result(x2);
233 result(null, res);
237 testOneway(sleepFor: number, result: Function) {
240 testString(thing: string, callback: (err: any, result: string) => void): Q.IPromise<string> {
244 testByte(thing: number, callback: (err: any, result: number) => void): Q.IPromise<number> {
248 testBool(thing: boolean, callback: (err: any, result: boolean) => void ): Q.IPromise<boolean> {
252 testI32(thing: number, callback: (err: any, result: number) => void): Q.IPromise<number> {
256 testI64(thing: number, callback: (err: any, result: number) => void): Q.IPromise<number> {
260 testDouble(thing: number, callback: (err: any, result: number) => void): Q.IPromise<number> {
264 testBinary(thing: Buffer, callback: (err: any, result: Buffer) => void): Q.IPromise<Buffer> {
268 …testStruct(thing: ttypes.Xtruct, callback: (err: any, result: ttypes.Xtruct) => void): Q.IPromise<…
272 …testNest(thing: ttypes.Xtruct2, callback: (err: any, result: ttypes.Xtruct2) => void): Q.IPromise<…
276 …testMap(thing: { [k: number]: number; }, callback: (err: any, result: { [k: number]: number; }) =>…
280 …testStringMap(thing: { [k: string]: string; }, callback: (err: any, result: { [k: string]: string;…
284 testSet(thing: number[], callback: (err: any, result: number[]) => void): Q.IPromise<number[]> {
288 testList(thing: number[], callback: (err: any, result: number[]) => void): Q.IPromise<number[]> {
292 …testEnum(thing: ttypes.Numberz, callback: (err: any, result: ttypes.Numberz) => void): Q.IPromise<…
296 testTypedef(thing: number, callback: (err: any, result: number) => void): Q.IPromise<number> {