mvcExpress-framework icon indicating copy to clipboard operation
mvcExpress-framework copied to clipboard

send Vector with WorkerMessage

Open alevys opened this issue 10 years ago • 2 comments

Hi! It is impossible to send a message through the Vector, is this normal?

alevys avatar Aug 15 '14 10:08 alevys

And I have a problem with the transfer of the object Error, an error [Fault] exception, information=ReferenceError: Error #1065: Variable * is not defined.

alevys avatar Aug 16 '14 08:08 alevys

hm.. not sure.. have to check.

then you send message from worker to worker... in bacground:

Sending from main worker All non regular object type alias are sent to remote worker. (this happens only one per type.) Message type is sent to remote worker. Message object is transformed to binary and sent to remote worker. Receiving: All object type aliases are registered if needed in remote worker. Sent object binary is converted back to object. MvcExpress message is sent in remote worker, using received type and object.

It is possible that some types does not convert well to binary and back. Will check.

Sending untyped object is not handled... I never use it, as its bad idea. But maybe it could solve those complex types... will check.

MindScriptAct avatar Aug 18 '14 10:08 MindScriptAct