Abstract
Readonly
beforeActor that must be registered in the bus before this actor.
Readonly
busThe bus this actor subscribes to.
Readonly
nameThe name for this actor.
Protected
getOptional
data: (() => any)Abstract
getGet the media type formats of this given actor.
An optional context.
A promise that resolves to the media types.
Abstract
getGet the media type of this given actor.
An optional context.
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.
Abstract
testCheck 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.
Abstract
testCheck if this actor can emit its media types.
An optional context.
A promise that resolves to the media type run result.
Abstract
testCheck if this actor can emit its media type formats.
An optional context.
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 parse events.
Actor types:
See
IActionInit