Skip to content

Commit

Permalink
add thread safe documentation to bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth committed Feb 8, 2025
1 parent 3795a68 commit be4aac8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data/binding/binding.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//go:generate go run gen.go

// Package binding provides support for binding data to widgets.
// All APIs in the binding package are safe to invoke directly from any goroutine.
package binding

import (
Expand All @@ -22,6 +23,7 @@ var (
)

// DataItem is the base interface for all bindable data items.
// All APIs on bindable data items are safe to invoke directly fron any goroutine.
//
// Since: 2.0
type DataItem interface {
Expand Down

0 comments on commit be4aac8

Please sign in to comment.