AppleSauce
Preparing search index...
applesauce-common
Observable
castEventStream
Function castEventStream
castEventStream
<
C
extends
EventCast
<
NostrEvent
>
>
(
cls
:
CastConstructor
<
C
>
,
store
?:
CastRefEventStore
,
)
:
OperatorFunction
<
NostrEvent
|
undefined
,
C
|
undefined
>
Casts an event to a specific type
Type Parameters
C
extends
EventCast
<
NostrEvent
>
Parameters
cls
:
CastConstructor
<
C
>
Optional
store
:
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