Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WaitGroup = star.Struct{ TypeName: "WaitGroup", Initialize: func() interface{} { return &sync.WaitGroup{} }, Methods: map[string]star.Method{ "Add": star.Method{ Args: []starlark.Value{starlark.Int{}}, Call: func(recv interface{}, args []interface{}) (resp []interface{}) { recv.(*sync.WaitGroup).Add(args[0].(int)) return }, }, "Done": star.Method{ Call: func(recv interface{}, args []interface{}) (resp []interface{}) { recv.(*sync.WaitGroup).Done() return }, }, "Wait": star.Method{ Call: func(recv interface{}, args []interface{}) (resp []interface{}) { recv.(*sync.WaitGroup).Wait() return }, }, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.