Function useInitializeActor