Giter Club home page Giter Club logo

NoInfoPath

@version 2.0.11

Alias a method while keeping the context correct, to allow for overwriting of target method.

@private @this {PubSub} @param {String} fn The name of the target method. @return {function} The aliased method.

Subscribe to events of interest with a specific topic name and a callback function, to be executed when the topic/event is observed.

@this {PubSub} @param {String} topic The topic name. @param {function} callback Callback function to execute on event, taking two arguments: - {*} data The data passed when publishing an event - {Object} topic The topic's info (name & token) @param {Boolean} [once=false] Checks if event will be triggered only one time. @return {Number} The topic's token.

Subscribe to events of interest setting a flag indicating the event will be published only one time.

@this {PubSub} @param {String} topic The topic's name. @param {function} callback Callback function to execute on event, taking two arguments: - {*} data The data passed when publishing an event - {Object} topic The topic's info (name & token) @return {Number} The topic's token.

Publish or broadcast events of interest with a specific topic name and arguments such as the data to pass along.

@this {PubSub} @param {String} topic The topic's name. @param {*} [data] The data to be passed. @return {Boolean} True if topic exists and event is published; otherwise false.

Unsubscribe from a specific topic, based on the topic name, or based on a tokenized reference to the subscription.

@this {PubSub} @param {String|Object} topic Topic's name or subscription referenece. @return {Boolean|String} False if topic does not match a subscribed event, else the topic's name.

NoInfoPath Group, LLC.'s Projects

node-cron icon node-cron

A simple cron-like job scheduler for Node.js http://merencia.com/node-cron/

noinfopath-scheduler icon noinfopath-scheduler

JavaScript alternative to scheduling tasks with CRON syntax. Instead uses moment duration syntax to define events. Also support specifying specific times of day.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.