Skip to content

make upd function configurable #38

@markmcdowell

Description

@markmcdowell

Hello, great library it works well!

Unfortunately as is typical with kdb, we have a custom upd function this is actually .u.upd

This means I can't subscribe with out hacking the following line:

if (err === undefined && Array.isArray(o) && o[0] === "upd") 
{
   events.EventEmitter.prototype.emit.apply(self, o);
} 

to

if (err === undefined && Array.isArray(o) && o[0] === ".u.upd") 
{
   o[0] = "upd";
   events.EventEmitter.prototype.emit.apply(self, o);
} 

Any chance we could change to pass in the function name to subscribe to?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions