xaviervia / sydney

Event Subscription/Venue library for JavaScript
ISC License
0 stars 0 forks source link

Interface for Array and Object (event driven extensions) #4

Open xaviervia opened 9 years ago

xaviervia commented 9 years ago

With property non enumerable:

["value", "value2"]
  .on(
    {
        "method": "PUT",
        "resource: ["*"]
    }, function (message) {
        message.engine, message.event
    }
   )

   .emit({
    "method": "GET",
    "resource": []
   })

Async on everything.

xaviervia commented 9 years ago

This is way outdated, but will keep under consideration.

xaviervia commented 9 years ago

Will keep for now because it is a good idea, but it's not for Sydney, it's for whatever tool is built on top of it.

xaviervia commented 9 years ago

JSTP something is the tool. JSTP Venue most likely, joining the URI, the Logger, Sydney and Object Pattern.