You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After further thought, I am going to add the instance to the callback function. The reason for this is that the meta$ object should be serializable, plus its a reserved property.
The problem is that the
this
reference is not correct when using=>
(it's not the current seneca context).Instead, provide it via the meta$ message property:
seneca.add( 'foo:1', (msg, done) => { msg.meta$.seneca.prior( ... ) })
The text was updated successfully, but these errors were encountered: