Preparing search index...
The search index is not available
watchable.dev
watchable.dev
@watchable/unpromise
ProxyPromise
Interface ProxyPromise<T>
Duplicate of Promise interface, except each call returns SubscribedPromise
interface
ProxyPromise
<
T
>
{
[toStringTag]
:
string
;
catch
:
(
<
TResult
>
(
onrejected
?
)
=>
SubscribedPromise
<
T
|
TResult
>
)
;
finally
:
(
(
onfinally
?
)
=>
SubscribedPromise
<
T
>
)
;
subscribe
:
(
(
)
=>
SubscribedPromise
<
T
>
)
;
then
:
(
<
TResult1
,
TResult2
>
(
onfulfilled
?
,
onrejected
?
)
=>
SubscribedPromise
<
TResult1
|
TResult2
>
)
;
}
Type Parameters
T
Hierarchy
Promise
<
T
>
ProxyPromise
Implemented by
Unpromise
Index
Properties
[to
String
Tag]
catch
finally
subscribe
then
Properties
Readonly
[to
String
Tag]
[to
String
Tag]
:
string
catch
catch
:
(
<
TResult
>
(
onrejected
?
)
=>
SubscribedPromise
<
T
|
TResult
>
)
Type declaration
<
TResult
>
(
onrejected
?
)
:
SubscribedPromise
<
T
|
TResult
>
Type Parameters
TResult
=
never
Parameters
Optional
onrejected
:
null
|
(
(
reason
)
=>
TResult
|
PromiseLike
<
TResult
>
)
Returns
SubscribedPromise
<
T
|
TResult
>
finally
finally
:
(
(
onfinally
?
)
=>
SubscribedPromise
<
T
>
)
Type declaration
(
onfinally
?
)
:
SubscribedPromise
<
T
>
Parameters
Optional
onfinally
:
null
|
(
(
)
=>
void
)
Returns
SubscribedPromise
<
T
>
subscribe
subscribe
:
(
(
)
=>
SubscribedPromise
<
T
>
)
Type declaration
(
)
:
SubscribedPromise
<
T
>
Returns
SubscribedPromise
<
T
>
then
then
:
(
<
TResult1
,
TResult2
>
(
onfulfilled
?
,
onrejected
?
)
=>
SubscribedPromise
<
TResult1
|
TResult2
>
)
Type declaration
<
TResult1
,
TResult2
>
(
onfulfilled
?
,
onrejected
?
)
:
SubscribedPromise
<
TResult1
|
TResult2
>
Type Parameters
TResult1
=
T
TResult2
=
never
Parameters
Optional
onfulfilled
:
null
|
(
(
value
)
=>
TResult1
|
PromiseLike
<
TResult1
>
)
Optional
onrejected
:
null
|
(
(
reason
)
=>
TResult2
|
PromiseLike
<
TResult2
>
)
Returns
SubscribedPromise
<
TResult1
|
TResult2
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
[to
String
Tag]
catch
finally
subscribe
then
watchable.dev
@watchable
nevermore
BackoffOptions
CancelOptions
ConcurrencyOptions
JobFulfilment
JobRejection
PipeOptions
RateOptions
RetryOptions
TimeoutOptions
BackoffRetryOptions
Job
JobArgs
JobSettlement
NevermoreOptions
NothingFrom
Pipe
Strategy
StrategyFactory
createExecutorStrategy
createSettlementSequence
createStrategyFromOptions
sleep
queue
MessageQueue
Watcher
createQueue
store
Store
Watchable
Draft
Immutable
PartitionableState
RootState
Selector
Unwatch
Watcher
createStore
createStorePartition
store-edit
Editor
edit
store-follow
Controls
ExitStatus
Follower
QueueHandler
followSelector
withSelectorQueue
store-react
useRootState
useSelected
useStateProperty
useStore
unpromise
Unpromise
PromiseWithResolvers
ProxyPromise
SubscribedPromise
PromiseExecutor
Duplicate of Promise interface, except each call returns SubscribedPromise