#2307 Actors in fansh

elyashiv Fri 4 Jul 2014

I don't if this is by design, but when I try to create a ActorPool in fansh I get the following:

fansh> pool := ActorPool()
ERROR(13): Unknown method 'sh2::FanshEval.ActorPool

SlimerDude Fri 4 Jul 2014

Try using the fully qualified name:

fansh> pool := concurrent::ActorPool()

I don't know if / how you can use using statements in fansh.

brian Fri 4 Jul 2014

I don't know if / how you can use using statements in fansh.

Yes, you can use a using statement in fansh. So using concurrent will setup the namespace also for you

Login or Signup to reply.