transferum
Preparing search index...
GateTransferInterface
Interface GateTransferInterface<T>
Transfer with gate-controlled push/subscribe — data flows only when the gate is active.
interface
GateTransferInterface
<
T
>
{
active
:
boolean
;
isAsyncPollingProxy
:
boolean
;
isAsyncPullable
:
boolean
;
isAsyncPushable
:
boolean
;
isAsyncTriggerable
:
boolean
;
isDuplex
:
boolean
;
isGate
:
true
;
isInput
:
true
;
isOutput
:
true
;
isPollingProxy
:
boolean
;
isPollingSource
:
boolean
;
isPullable
:
boolean
;
isPushable
:
true
;
isSubscribable
:
true
;
isTriggerable
:
boolean
;
activate
()
:
void
;
deactivate
()
:
void
;
destroy
()
:
void
;
onStateChange
(
handler
:
DataHandler
<
GateInterface
>
)
:
SubscriberInterface
;
push
(
data
:
T
)
:
void
;
subscribe
(
handler
:
DataHandler
<
T
>
)
:
SubscriberInterface
;
toggle
()
:
boolean
;
}
Type Parameters
T
Hierarchy (
View Summary
)
GateInterface
PushableTransferInterface
<
T
>
SubscribableTransferInterface
<
T
>
GateTransferInterface
Implemented by
GateTransfer
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
deactivate
destroy
on
State
Change
push
subscribe
toggle
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
:
true
Readonly
is
Input
isInput
:
true
Readonly
is
Output
isOutput
:
true
Readonly
is
Polling
Proxy
isPollingProxy
:
boolean
Readonly
is
Polling
Source
isPollingSource
:
boolean
Readonly
is
Pullable
isPullable
:
boolean
Readonly
is
Pushable
isPushable
:
true
Readonly
is
Subscribable
isSubscribable
:
true
Readonly
is
Triggerable
isTriggerable
:
boolean
Methods
activate
activate
()
:
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
push
push
(
data
:
T
)
:
void
Parameters
data
:
T
Returns
void
subscribe
subscribe
(
handler
:
DataHandler
<
T
>
)
:
SubscriberInterface
Parameters
handler
:
DataHandler
<
T
>
Returns
SubscriberInterface
toggle
toggle
()
:
boolean
Returns
boolean
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
deactivate
destroy
on
State
Change
push
subscribe
toggle
transferum
Loading...
Transfer with gate-controlled push/subscribe — data flows only when the gate is active.