Options
All
  • Public
  • Public/Protected
  • All
Menu

State emit/broadcast optional configuration

Hierarchy

  • IStateEmitConfig

Index

Properties

Properties

Optional alwaysEmit

alwaysEmit: boolean

Always emit, even on error

By default, events will only be emitted if the related call is successful; however, you might want to make sure an event will always be emitted, even on error. Set this configuration entry to true to make sure the event will always be emitted.

Optional isJson

isJson: boolean

Set if the data to emit has already been stringified

In some cases, you might want to emit data that has already been serialized to a JSON string; to do so, set this option to true.