Returns a copy of the runtime's system context.
()
| 73 | |
| 74 | // Returns a copy of the runtime's system context. |
| 75 | func (r *Runtime) systemContextCopy() *types.SystemContext { |
| 76 | var sys types.SystemContext |
| 77 | deepcopy.Copy(&sys, &r.systemContext) |
| 78 | return &sys |
| 79 | } |
| 80 | |
| 81 | // EventChannel creates a buffered channel for events that the Runtime will use |
| 82 | // to write events to. Callers are expected to read from the channel in a |
no outgoing calls
no test coverage detected