Preparing search index...
The search index is not available
ya-ts-client
ya-ts-client
IdentityApi
CancelablePromise
Class CancelablePromise<T>
Type Parameters
T
Implements
Promise
<
T
>
Index
Constructors
constructor
Accessors
[to
String
Tag]
is
Cancelled
Methods
cancel
catch
finally
then
Constructors
constructor
new
Cancelable
Promise
<
T
>
(
executor
)
:
IdentityApi
.
CancelablePromise
<
T
>
Type Parameters
T
Parameters
executor
:
(
(
resolve
,
reject
,
onCancel
)
=>
void
)
(
resolve
,
reject
,
onCancel
)
:
void
Parameters
resolve
:
(
(
value
)
=>
void
)
(
value
)
:
void
Parameters
value
:
T
|
PromiseLike
<
T
>
Returns
void
reject
:
(
(
reason
?
)
=>
void
)
(
reason
?
)
:
void
Parameters
Optional
reason
:
any
Returns
void
onCancel
:
OnCancel
Returns
void
Returns
IdentityApi
.
CancelablePromise
<
T
>
Accessors
[to
String
Tag]
get
[toStringTag]
(
)
:
string
Returns
string
is
Cancelled
get
isCancelled
(
)
:
boolean
Returns
boolean
Methods
cancel
cancel
(
)
:
void
Returns
void
catch
catch
<
TResult
>
(
onRejected
?
)
:
Promise
<
T
|
TResult
>
Type Parameters
TResult
=
never
Parameters
Optional
onRejected
:
null
|
(
(
reason
)
=>
TResult
|
PromiseLike
<
TResult
>
)
Returns
Promise
<
T
|
TResult
>
finally
finally
(
onFinally
?
)
:
Promise
<
T
>
Parameters
Optional
onFinally
:
null
|
(
(
)
=>
void
)
Returns
Promise
<
T
>
then
then
<
TResult1
,
TResult2
>
(
onFulfilled
?
,
onRejected
?
)
:
Promise
<
TResult1
|
TResult2
>
Type Parameters
TResult1
=
T
TResult2
=
never
Parameters
Optional
onFulfilled
:
null
|
(
(
value
)
=>
TResult1
|
PromiseLike
<
TResult1
>
)
Optional
onRejected
:
null
|
(
(
reason
)
=>
TResult2
|
PromiseLike
<
TResult2
>
)
Returns
Promise
<
TResult1
|
TResult2
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
constructor
[to
String
Tag]
is
Cancelled
cancel
catch
finally
then
ya-ts-client
Loading...