Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrFailedToGetClient is returned when the client cannot be retrieved from context ErrFailedToGetClient = errors.New("failed to get client from context") // ErrEntityIDNotFound is returned when entity ID is not found in props ErrEntityIDNotFound = errors.New("entity ID not found in props") )
Functions ¶
func RegisterListeners ¶
func RegisterListeners(addListener func(entityType string, handler func(*soiree.EventContext, *events.MutationPayload) error))
RegisterListeners registers notification listeners with the given eventer This is called from hooks package to register the listeners
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.