Taquito TypeDocs
taquito.io
Preparing search index...
@taquito/taquito
Subscription
Interface Subscription<T>
interface
Subscription
<
T
>
{
close
()
:
void
;
off
(
type
:
"error"
,
cb
:
(
error
:
Error
)
=>
void
)
:
void
;
off
(
type
:
"data"
,
cb
:
(
data
:
T
)
=>
void
)
:
void
;
off
(
type
:
"close"
,
cb
:
()
=>
void
)
:
void
;
on
(
type
:
"error"
,
cb
:
(
error
:
Error
)
=>
void
)
:
void
;
on
(
type
:
"data"
,
cb
:
(
data
:
T
)
=>
void
)
:
void
;
on
(
type
:
"close"
,
cb
:
()
=>
void
)
:
void
;
}
Type Parameters
T
Implemented by
ObservableSubscription
Index
Methods
close
off
on
Methods
close
close
()
:
void
Returns
void
off
off
(
type
:
"error"
,
cb
:
(
error
:
Error
)
=>
void
)
:
void
Parameters
type
:
"error"
cb
:
(
error
:
Error
)
=>
void
Returns
void
off
(
type
:
"data"
,
cb
:
(
data
:
T
)
=>
void
)
:
void
Parameters
type
:
"data"
cb
:
(
data
:
T
)
=>
void
Returns
void
off
(
type
:
"close"
,
cb
:
()
=>
void
)
:
void
Parameters
type
:
"close"
cb
:
()
=>
void
Returns
void
on
on
(
type
:
"error"
,
cb
:
(
error
:
Error
)
=>
void
)
:
void
Parameters
type
:
"error"
cb
:
(
error
:
Error
)
=>
void
Returns
void
on
(
type
:
"data"
,
cb
:
(
data
:
T
)
=>
void
)
:
void
Parameters
type
:
"data"
cb
:
(
data
:
T
)
=>
void
Returns
void
on
(
type
:
"close"
,
cb
:
()
=>
void
)
:
void
Parameters
type
:
"close"
cb
:
()
=>
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
close
off
on
taquito.io
Taquito TypeDocs
Loading...