Abstract
TODO: rm this (and eslint-disable) once we remove the abstract media typed actor
Readonly
beforeActor that must be registered in the bus before this actor.
Readonly
busThe bus this actor subscribes to.
Readonly
mediaReadonly
mediaReadonly
nameThe name for this actor.
Readonly
priorityProtected
getOptional
data: (() => any)Get the media type formats of this given actor.
A promise that resolves to the media types.
Get the media type of this given actor.
A promise that resolves to the media types.
Protected
logOptional
data: (() => any)Protected
logOptional
data: (() => any)Protected
logOptional
data: (() => any)Protected
logOptional
data: (() => any)Protected
logOptional
data: (() => any)Protected
logOptional
data: (() => any)Run the given action on this actor.
In most cases, this method should not be called directly. Instead, #runObservable should be called.
The action to run.
A promise that resolves to the run result.
Abstract
runRun the given handle action on this actor.
The handle action to run.
The media type to run with.
An optional context.
A promise that resolves to the handle run result.
Run the given action on this actor AND invokes the Bus#onRun method.
The action to run.
A promise that resolves to the run result.
Check if this actor can run the given action, without actually running it.
The action to test.
A promise that resolves to the test result.
Check if this actor can run the given handle action, without actually running it.
The handle action to test.
The media type to test.
An optional context.
A promise that resolves to the handle test result.
Check to see if this actor can handle the given action. The media type has already been checked before this is called.
Check if this actor can emit its media types.
A promise that resolves to the media type run result.
Check if this actor can emit its media type formats.
A promise that resolves to the media type run result.
Static
getGet the logger from the given context.
An optional context.
The logger or undefined.
A base actor for listening to RDF serialize events that has fixed media types.
Actor types:
See
IActionInit