summaryrefslogtreecommitdiff
path: root/js/src/Ice/AsyncResult.d.ts
blob: e7da747e1bdffedbdde3e815321b30f04630debf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//

declare module "ice"
{
    namespace Ice
    {
        class AsyncResult<T> extends AsyncResultBase<T>
        {
            constructor(communicator:Communicator, operation:string, connection:Connection, proxy: ObjectPrx, adapter:ObjectAdapter,
                        completed:(result:AsyncResult<T>) => void);
            cancel():void;
            isCompleted():boolean;
            isSent():boolean;
            throwLocalException():void;
            sentSynchronously():boolean;
        }
    }
}