Readonly
beforeActor that must be registered in the bus before this actor.
Readonly
busThe bus this actor subscribes to.
Readonly
mediaA record of media types, with media type name as key, and its format IRI as value.
Readonly
mediaA record of media types, with media type name as key, and its priority as value. Priorities are numbers between [0, 1].
Readonly
nameThe name for this actor.
Readonly
priorityA multiplier for media type priorities. This can be used for keeping the original media types in place, but scaling all of their scores with a certain value.
Protected
getOptional
data: () => anyGet 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: () => anyProtected
logOptional
data: () => anyProtected
logOptional
data: () => anyProtected
logOptional
data: () => anyProtected
logOptional
data: () => anyProtected
logOptional
data: () => anyRun 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.
Run the given handle action on this actor.
The handle action to run.
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.
The action to test.
An optional context.
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.
Protected
Static
term
A comunica Simple Sparql Serialize Actor.