Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Actor<TContext, TEvent>

Type parameters

Hierarchy

Implemented by

Index

Properties

Methods

Properties

Optional deferred

deferred: undefined | false | true

id

id: string

Optional meta

meta: InvokeDefinition<TContext, TEvent>

send

send: (event: TEvent) => any

Type declaration

    • (event: TEvent): any
    • Parameters

      • event: TEvent

      Returns any

Optional state

state: any

Optional stop

stop: undefined | (() => any | undefined)

toJSON

toJSON: () => { id: string }

Type declaration

    • (): { id: string }
    • Returns { id: string }

      • id: string

Methods

subscribe

  • subscribe(observer: Observer<TContext>): Subscription
  • subscribe(next: (value: TContext) => void, error?: undefined | ((error: any) => void), complete?: undefined | (() => void)): Subscription

Generated using TypeDoc