| 45 | } |
| 46 | |
| 47 | type DelegateCondition struct { |
| 48 | satisfied func() bool |
| 49 | changed *Event |
| 50 | } |
| 51 | |
| 52 | func NewDelegateCondition(satisfied func() bool, changed *Event) *DelegateCondition { |
| 53 | return &DelegateCondition{satisfied, changed} |
nothing calls this directly
no outgoing calls
no test coverage detected