Documentation ¶
Index ¶
- type Controller
- type Thread
- func (f *Thread) Continue(context.Context)
- func (f *Thread) Handle(ctx context.Context, handle flow.Handle) error
- func (f *Thread) Migrate(ctx context.Context, to flow.Handle) error
- func (f *Thread) Procedure(ctx context.Context, proc flow.Procedure, cancel bool) error
- func (f *Thread) Run(ctx context.Context, h flow.Handle) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController() *Controller
func (*Controller) BeginPulse ¶
func (c *Controller) BeginPulse()
func (*Controller) CanBegin ¶
func (c *Controller) CanBegin() <-chan struct{}
func (*Controller) CanProcess ¶
func (c *Controller) CanProcess() <-chan struct{}
func (*Controller) Cancel ¶
func (c *Controller) Cancel() <-chan struct{}
func (*Controller) ClosePulse ¶
func (c *Controller) ClosePulse()
Click to show internal directories.
Click to hide internal directories.