func (handlerSelf *HandlerDef) Close() {
	handlerSelf.isClosed = true
	close(*handlerSelf.ch)
}
Close Close the Handler
package fpgo
type HandlerDef struct {
	isClosed bool
	ch *chan func()
}
var defaultHandler *HandlerDef
func (handlerSelf *HandlerDef) GetDefault() *HandlerDef {
	return defaultHandler
}
func (handlerSelf *HandlerDef) New() *HandlerDef {
	ch := make(chan func())
	return handlerSelf.NewByCh(&ch)
}
func (handlerSelf *HandlerDef) NewByCh(ioCh *chan func()) *HandlerDef {
	new := HandlerDef{ch: ioCh}
	go new.run()
	return &new
}
func (handlerSelf *HandlerDef) Post(fn func()) {
	if handlerSelf.isClosed {
		return
	}
	*(handlerSelf.ch) <- fn
}