AppleSauce
Preparing search index...
applesauce-factory
create
Function create
create
<
Args
extends
any
[]
,
T
extends
Event
|
EventTemplate
|
UnsignedEvent
>
(
context
:
EventFactoryContext
,
blueprintConstructor
:
(
...
args
:
Args
)
=>
EventBlueprint
<
T
>
,
...
args
:
Args
,
)
:
Promise
<
T
>
Creates an event from a context and a blueprint
Type Parameters
Args
extends
any
[]
T
extends
Event
|
EventTemplate
|
UnsignedEvent
Parameters
context
:
EventFactoryContext
blueprintConstructor
:
(
...
args
:
Args
)
=>
EventBlueprint
<
T
>
...
args
:
Args
Returns
Promise
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
AppleSauce
Loading...
Creates an event from a context and a blueprint