transferum
Preparing search index...
UniversalDuplexInterface
Interface UniversalDuplexInterface<TInput, TOutput>
Universal duplex interface — combines all input and output capabilities.
interface
UniversalDuplexInterface
<
TInput
,
TOutput
>
{
active
:
boolean
;
isAsyncPollingProxy
:
boolean
;
isAsyncPullable
:
boolean
;
isAsyncPushable
:
boolean
;
isAsyncTriggerable
:
boolean
;
isDuplex
:
boolean
;
isGate
:
boolean
;
isInput
:
boolean
;
isOutput
:
boolean
;
isPollingProxy
:
boolean
;
isPollingSource
:
boolean
;
isPullable
:
boolean
;
isPushable
:
boolean
;
isSubscribable
:
boolean
;
isTriggerable
:
boolean
;
activate
()
:
void
;
asyncPull
()
:
Promise
<
TOutput
|
undefined
>
;
asyncPush
(
data
:
TInput
)
:
Promise
<
void
>
;
asyncTrigger
()
:
Promise
<
void
>
;
clearAsyncFetcher
()
:
void
;
clearFetcher
()
:
void
;
deactivate
()
:
void
;
destroy
()
:
void
;
onStateChange
(
handler
:
DataHandler
<
GateInterface
>
)
:
SubscriberInterface
;
pull
()
:
TOutput
|
undefined
;
push
(
data
:
TInput
)
:
void
;
setAsyncFetcher
(
fetcher
:
AsyncDataFetcher
<
TInput
>
)
:
void
;
setFetcher
(
fetcher
:
DataFetcher
<
TInput
>
)
:
void
;
subscribe
(
handler
:
DataHandler
<
TOutput
>
)
:
SubscriberInterface
;
toggle
()
:
boolean
;
trigger
()
:
void
;
}
Type Parameters
TInput
TOutput
Hierarchy (
View Summary
)
UniversalInputInterface
<
TInput
>
UniversalOutputInterface
<
TOutput
>
UniversalDuplexInterface
Implemented by
UniversalCompositeTransfer
Index
Properties
active
is
Async
Polling
Proxy
is
Async
Pullable
is
Async
Pushable
is
Async
Triggerable
is
Duplex
is
Gate
is
Input
is
Output
is
Polling
Proxy
is
Polling
Source
is
Pullable
is
Pushable
is
Subscribable
is
Triggerable
Methods
activate
async
Pull
async
Push
async
Trigger
clear
Async
Fetcher
clear
Fetcher
deactivate
destroy
on
State
Change
pull
push
set
Async
Fetcher
set
Fetcher
subscribe
toggle
trigger
Properties
Readonly
active
active
:
boolean
Readonly
is
Async
Polling
Proxy
isAsyncPollingProxy
:
boolean
Readonly
is
Async
Pullable
isAsyncPullable
:
boolean
Readonly
is
Async
Pushable
isAsyncPushable
:
boolean
Readonly
is
Async
Triggerable
isAsyncTriggerable
:
boolean
Readonly
is
Duplex
isDuplex
:
boolean
Readonly
is
Gate
isGate
:
boolean
Readonly
is
Input
isInput
:
boolean
Readonly
is
Output
isOutput
:
boolean
Readonly
is
Polling
Proxy
isPollingProxy
:
boolean
Readonly
is
Polling
Source
isPollingSource
:
boolean
Readonly
is
Pullable
isPullable
:
boolean
Readonly
is
Pushable
isPushable
:
boolean
Readonly
is
Subscribable
isSubscribable
:
boolean
Readonly
is
Triggerable
isTriggerable
:
boolean
Methods
activate
activate
()
:
void
Returns
void
async
Pull
asyncPull
()
:
Promise
<
TOutput
|
undefined
>
Returns
Promise
<
TOutput
|
undefined
>
async
Push
asyncPush
(
data
:
TInput
)
:
Promise
<
void
>
Parameters
data
:
TInput
Returns
Promise
<
void
>
async
Trigger
asyncTrigger
()
:
Promise
<
void
>
Returns
Promise
<
void
>
clear
Async
Fetcher
clearAsyncFetcher
()
:
void
Returns
void
clear
Fetcher
clearFetcher
()
:
void
Returns
void
deactivate
deactivate
()
:
void
Returns
void
destroy
destroy
()
:
void
Returns
void
on
State
Change
onStateChange
(
handler
:
DataHandler
<
GateInterface
>
)
:
SubscriberInterface
Parameters
handler
:
DataHandler
<
GateInterface
>
Returns
SubscriberInterface
pull
pull
()
:
TOutput
|
undefined
Returns
TOutput
|
undefined
push
push
(
data
:
TInput
)
:
void
Parameters
data
:
TInput
Returns
void
set
Async
Fetcher
setAsyncFetcher
(
fetcher
:
AsyncDataFetcher
<
TInput
>
)
:
void
Parameters
fetcher
:
AsyncDataFetcher
<
TInput
>
Returns
void
set
Fetcher
setFetcher
(
fetcher
:
DataFetcher
<
TInput
>
)
:
void
Parameters
fetcher
:
DataFetcher
<
TInput
>
Returns
void
subscribe
subscribe
(
handler
:
DataHandler
<
TOutput
>
)
:
SubscriberInterface
Parameters
handler
:
DataHandler
<
TOutput
>
Returns
SubscriberInterface
toggle
toggle
()
:
boolean
Returns
boolean
trigger
trigger
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
active
is
Async
Polling
Proxy
is
Async
Pullable
is
Async
Pushable
is
Async
Triggerable
is
Duplex
is
Gate
is
Input
is
Output
is
Polling
Proxy
is
Polling
Source
is
Pullable
is
Pushable
is
Subscribable
is
Triggerable
Methods
activate
async
Pull
async
Push
async
Trigger
clear
Async
Fetcher
clear
Fetcher
deactivate
destroy
on
State
Change
pull
push
set
Async
Fetcher
set
Fetcher
subscribe
toggle
trigger
transferum
Loading...
Universal duplex interface — combines all input and output capabilities.