Set sets a key-value pair in the State.
(key string, value any)
| 34 | |
| 35 | // Set sets a key-value pair in the State. |
| 36 | func (s *State) Set(key string, value any) { |
| 37 | s.dependencies.Store(key, value) |
| 38 | } |
| 39 | |
| 40 | // Get retrieves a value from the State. |
| 41 | func (s *State) Get(key string) (any, bool) { |