No, not directly.  They run in completely separate javascript
environments.  You would have to duplicate the function definition
from b.js in a.js.

The only way for two workers to communicate is via messages.

rob

On Mar 27, 8:32 am, Alex <[email protected]> wrote:
> Hi  all,
>
>       whether one child workerpool can call js function in another  
> child workerpool ?
>
>       e.x      a = WorkerPool.createWorkpoolfromurl('a.js')
>                   b = WorkerPool.createWorkpoolfromurl('b.js')
>
>      Whether the function in a.js can call js function in b.js   ?
>      Thank you.
>
> Alex

Reply via email to