Nested Parenthetical Madness
    Have ideas to improve npm?Join in the discussion! »

    redibox-hook-job

    1.2.18 • Public • Published

    RediBox Job

    The RediBox Job hook allows code to be run & distributed across many servers, whilst being highly configurable. Works well with the Schedule hook.

    Installation

    First ensure you have RediBox installed.

    Install Job via npm:

    npm install redibox-hook-job --save

    Usage

    RediBox.hooks.job.create('my-queue', {
      runs: 'sails.hooks.myhook.runJobFoo', // dot notated path to a globally accessible function
      data: {
        foo: 'bar',
      }
    });
     
    // With Sails hook
    Job.create('my-queue', {
      runs: 'sails.hooks.myhook.runJobBar', // dot notated path to a globally accessible function
      data: {
        foo: 'bar',
      }
    });

    Documentation

    License

    MIT

    Install

    npm i redibox-hook-job

    DownloadsWeekly Downloads

    4

    Version

    1.2.18

    License

    MIT

    Last publish

    Collaborators

    • avatar
    • avatar