Retrieve Discourse API SDK handle (currently none).
void (currently no Discourse SDK API handle).
Get the service name, as required by the framework.
The service name for Discourse.
Create or retrieve the singleton express app.
Singleton express server app.
Activate this service as a listener.
Promise to find the first page of comment history of a particular thread. Will prompt the API to perform some short-listing if the regex begins with some key words.
id of the thread to search.
id of the room in which the thread resides.
Criteria to match.
Get a Worker object for the provided event, threaded by context.
Event as enqueued by the listener.
Worker for the context associated.
Pass an event to registered listenerMethods.
Enqueued event from the listener.
Promise that resolves once the event is handled.
Start the object listening if it isn't already.
Promise to turn the data enqueued into a generic message format.
Raw data from the enqueue, remembering this is as dumb and quick as possible.
A promise that resolves to the generic form of the event.
Promise to turn the generic message format into a specific form to be emitted.
Generic message format object to be encoded.
Promise that resolves to the emit suitable form.
Promise to turn the generic message format into a tag update to be emitted.
Generic message format object to be encoded.
Promise that resolves to the tag update object.
Queue an event ready for running in a child.
The WorkerEvent to add to the queue for processing.
Store an event of interest, so that the method gets triggered appropriately.
Registration object with event trigger and other details.
Remove a worker from a context post-action.
The context in which the Worker must be removed.
Emit data to the service.
Service Emit Request to send, if relevant.
Details of the successful transmission from the service.
Deliver the payload to the service. Sourcing the relevant context has already been performed.
The object to be delivered to the service.
Response from the service endpoint.
Turns the generic, messenger, name for an event into a specific trigger name for this class.
Name of the event to translate, eg 'message'.
This class's equivalent, eg 'post'.
Given a basic string this will extract a more rich context for the event, if embedded.
Basic string that may contain metadata.
Format of the metadata encoding.
Object of content, genesis and hidden.
Retrieve from the environment array of strings to use as indicators of visibility
Object of arrays of indicators, shown and hidden.
Make a handle context, using a receipt context and some extra information.
Event to be converted.
Destination for the handle context.
Pre-populate the toIds, if desired.
Newly created context for handling a message.
A daily rotating message from a configured list.
String of the message for today.
Encode the metadata of an event into a string to embed in the message.
Event to gather details from.
Format of the metadata encoding.
Text with data embedded.
Generated using TypeDoc
A place to put output for debug and reference.