Solid Objects 0.13.2 lets one actor hold an alarm for each item it waits on, and adds a process administration query.
Highlights
scheduleaccepts akey, which names the reminder for the item it waits on rather than for its operation. One actor holds one alarm for each queued item. The same key moves that item's alarm and leaves the others alone.- A schedule without a key still takes the operation as the name, so existing reminders keep their names and their coalescing behaviour.
- The reminders table gets a nullable
message_operationcolumn. A migration adds it and leaves existing rows null, so an alarm armed by an older release still fires after the upgrade. - The composed reminder name is bounded by the 255 characters MySQL holds it in. The check applies to the name, not to the key alone.
runtime.administration.processes()returns live and stale process rows through the runtime database adapter. The query needs authorization.- The polling-only warning now names rolling deployment overlap as a cause.
Install with npm install solid-objects@0.13.2.
See the full changelog and correctness boundaries.