tj / axon

message-oriented socket library for node.js heavily inspired by zeromq
MIT License
1.5k stars 155 forks source link

Get a callback on the send method #137

Open jjp91 opened 9 years ago

jjp91 commented 9 years ago

Without the callback, I can't know when to reuse the ressources I used for calling a send.

If i send a Buffer, I can't reuse it, I have to recreate one each time.

That would be simpler/quicker for the garbage collector, if i could reuse the ressources.

Tks