public static < T extends Actor > T AsActor ( Class < T > actorClazz ) { return ( T ) instance . newProxy ( actorClazz , defaultScheduler . get ( ) , - 1 ) ; }
create an new actor . If this is called outside an actor a new DispatcherThread will be scheduled . If called from inside actor code the new actor will share the thread + queue with the caller .