GraphiQL API Documentation
Preparing search index...
@graphiql/toolkit
Observable
Type Alias Observable<T>
type
Observable
<
T
>
=
{
subscribe
(
opts
:
{
complete
:
()
=>
void
;
error
:
(
error
:
any
)
=>
void
;
next
:
(
value
:
T
)
=>
void
;
}
,
)
:
Unsubscribable
;
subscribe
(
next
:
(
value
:
T
)
=>
void
,
error
:
null
|
undefined
,
complete
:
()
=>
void
,
)
:
Unsubscribable
;
subscribe
(
next
?:
(
value
:
T
)
=>
void
,
error
?:
(
error
:
any
)
=>
void
,
complete
?:
()
=>
void
,
)
:
Unsubscribable
;
}
Type Parameters
T
Index
Methods
subscribe
Methods
subscribe
subscribe
(
opts
:
{
complete
:
()
=>
void
;
error
:
(
error
:
any
)
=>
void
;
next
:
(
value
:
T
)
=>
void
;
}
,
)
:
Unsubscribable
Parameters
opts
:
{
complete
:
()
=>
void
;
error
:
(
error
:
any
)
=>
void
;
next
:
(
value
:
T
)
=>
void
}
Returns
Unsubscribable
subscribe
(
next
:
(
value
:
T
)
=>
void
,
error
:
null
|
undefined
,
complete
:
()
=>
void
,
)
:
Unsubscribable
Parameters
next
:
(
value
:
T
)
=>
void
error
:
null
|
undefined
complete
:
()
=>
void
Returns
Unsubscribable
subscribe
(
next
?:
(
value
:
T
)
=>
void
,
error
?:
(
error
:
any
)
=>
void
,
complete
?:
()
=>
void
,
)
:
Unsubscribable
Parameters
Optional
next
:
(
value
:
T
)
=>
void
Optional
error
:
(
error
:
any
)
=>
void
Optional
complete
:
()
=>
void
Returns
Unsubscribable
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
subscribe
GraphiQL API Documentation
Loading...