Values returns an iterator that loops over all task values.
()
| 89 | |
| 90 | // Values returns an iterator that loops over all task values. |
| 91 | func (vars *Vars) Values() iter.Seq[Var] { |
| 92 | if vars == nil || vars.om == nil { |
| 93 | return func(yield func(Var) bool) {} |
| 94 | } |
| 95 | return vars.om.Values() |
| 96 | } |
| 97 | |
| 98 | // ToCacheMap converts Vars to an unordered map containing only the static |
| 99 | // variables |
no outgoing calls
no test coverage detected