Embedding API Reference / Modules / exposed-api / <internal> / default
# Class: default
exposed-api.<internal>.default
# Table of contents
# Constructors
# Methods
# Constructors
# constructor
• new default(): default
# Returns
# Methods
# emit
▸ emit<T
>(event
, data?
): void
# Type parameters
Name |
---|
T |
# Parameters
Name | Type |
---|---|
event | string |
data? | T |
# Returns
void
# Defined in
src/common/business-logic/event-emitter.ts:11 (opens new window)
# getEventsDataMap
▸ getEventsDataMap(): EventsDataMap
<any
>
# Returns
EventsDataMap
<any
>
# Defined in
src/common/business-logic/event-emitter.ts:43 (opens new window)
# off
▸ off<T
>(event
, callback
): void
# Type parameters
Name |
---|
T |
# Parameters
Name | Type |
---|---|
event | string |
callback | EventCallback <T > |
# Returns
void
# Defined in
src/common/business-logic/event-emitter.ts:33 (opens new window)
# on
▸ on<T
>(event
, callback
): void
# Type parameters
Name |
---|
T |
# Parameters
Name | Type |
---|---|
event | string |
callback | EventCallback <T > |
# Returns
void
# Defined in
src/common/business-logic/event-emitter.ts:19 (opens new window)