diff --git a/ARES/api/io.h.lsl b/ARES/api/io.h.lsl index f6277c6..f97b270 100644 --- a/ARES/api/io.h.lsl +++ b/ARES/api/io.h.lsl @@ -45,7 +45,7 @@ [p:] [n:] - p: is optional; it specifies a UUID to use for the pipe (otherwise this is generated randomly) - - n: is optional; it overrides the pipe this will send to (required if you want complete control over the UUIDs of a pipeline) + - n: is optional; it specifies the UUID of the next pipe in the pipeline (essential for capturing output from the final pipe) - the is one of: notify : triggers the program using SIGNAL_NOTIFY (volatile) invoke : triggers the program using SIGNAL_INVOKE (volatile) @@ -53,8 +53,8 @@ permanent : triggers the program using SIGNAL_INVOKE (non-volatile) to : sends messages to on (non-volatile) - will not send messages to subsequent pipes from : listens for messages from on and invokes (non-volatile) - will not pass on messages from prior pipes; specify as NULL_KEY to listen to messages from any object; be aware that the user key provided by 'from' will be the object UUID rather than the owning avatar - transport: simply passes messages to the output pipe (non-volatile) - print: simply passes messages to the output pipe (volatile) + transport: simply passes messages to the next pipe (non-volatile) + print: simply passes messages to the next pipe (volatile) : if no type identifier is included, the pipe is assumed to be a volatile SIGNAL_INVOKE pipe file_open() automatically creates a special pipe which is functionally identical to a volatile SIGNAL_NOTIFY pipe, but automatically removes the linebreaks at the start of the buffer caused by print() diff --git a/ARES/api/tasks.h.lsl b/ARES/api/tasks.h.lsl index cfee6c4..4aeb84a 100644 --- a/ARES/api/tasks.h.lsl +++ b/ARES/api/tasks.h.lsl @@ -68,7 +68,7 @@ string tasks_queue = "{}"; // [DEPRECATED] send a receipt for a completed task, without shutting down: #define resolve(_R) if(_R) system(SIGNAL_DONE, ares_encode(_R) + NULL_KEY + " " + PROGRAM_NAME) -// send a receipt for a completed task (with callback), without shutting down - suitable for modern NV jobs: +// [BACKEND] send a receipt for a completed task (with callback), without shutting down - suitable for modern NV jobs: #define resolvec(_R, _ins) if(_R) system(SIGNAL_DONE, ares_encode(_R) + (string)(_ins) + " " + PROGRAM_NAME) // [QUESTIONABLE] send a receipt for a completed task, including callback, and close streams (if they are volatile invoke pipes):