func (actorSelf *ActorDef) Send(message interface{}) {
	if actorSelf.isClosed {
		return
	}
	*(actorSelf.ch) <- message
}
Send Send a message to the Actor
package fpgo
import (
	"time"
)
type ActorDef struct {
	isClosed bool
	ch       *chan interface{}
	effect   func(*ActorDef, interface{})
	context map[string]interface{}
	children map[time.Time]*ActorDef
	parent   *ActorDef
}
var defaultActor *ActorDef
func (actorSelf *ActorDef) GetDefault() *ActorDef {
	return defaultActor
}
func (actorSelf *ActorDef) New(effect func(*ActorDef, interface{})) *ActorDef {
	ch := make(chan interface{})
	return actorSelf.NewByOptions(effect, &ch, map[string]interface{}{})
}
func (actorSelf *ActorDef) NewByOptions(effect func(*ActorDef, interface{}), ioCh *chan interface{}, context map[string]interface{}) *ActorDef {
	newOne := ActorDef{ch: ioCh, effect: effect, context: context, children: map[time.Time]*ActorDef{}}
	go newOne.run()
	return &newOne
}