github.com/haraldrudell/parl@v0.4.176/g0/go-group-parent.go (about)

     1  /*
     2  © 2022–present Harald Rudell <harald.rudell@gmail.com> (https://haraldrudell.github.io/haraldrudell/)
     3  ISC License
     4  */
     5  
     6  package g0
     7  
     8  import (
     9  	"context"
    10  
    11  	"github.com/haraldrudell/parl"
    12  )
    13  
    14  type goGroupParent interface {
    15  	Add(goEntityID parl.GoEntityID, threadData *ThreadData)
    16  	CascadeEnableTermination(delta int)
    17  	ConsumeError(goError parl.GoError)
    18  	GoDone(g parl.Go, err error)
    19  	UpdateThread(goEntityID parl.GoEntityID, threadData *ThreadData)
    20  	Context() (ctx context.Context)
    21  }