Applesauce
Preparing search index...
applesauce-common
Observable
castEventStream
Function castEventStream
castEventStream
<
C
extends
Casts
.
EventCast
<
NostrEvent
>
>
(
cls
:
Casts
.
CastConstructor
<
C
>
,
store
?:
Casts
.
CastRefEventStore
,
)
:
OperatorFunction
<
NostrEvent
|
undefined
,
C
|
undefined
>
Casts an event to a specific type
Type Parameters
C
extends
Casts
.
EventCast
<
NostrEvent
>
Parameters
cls
:
Casts
.
CastConstructor
<
C
>
Optional
store
:
Casts
.
CastRefEventStore
Returns
OperatorFunction
<
NostrEvent
|
undefined
,
C
|
undefined
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Applesauce
Loading...
Casts an event to a specific type