| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 library fletchc.hub.session_manager; | 5 library fletchc.hub.session_manager; |
| 6 | 6 |
| 7 import 'dart:async' show | 7 import 'dart:async' show |
| 8 Future, | 8 Future, |
| 9 Timer; | 9 Timer; |
| 10 | 10 |
| 11 import 'client_commands.dart' show | 11 import 'client_commands.dart' show |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 /// otherwise API that takes a [SessionState] object doesn't work correctly | 247 /// otherwise API that takes a [SessionState] object doesn't work correctly |
| 248 /// and testing becomes hard. | 248 /// and testing becomes hard. |
| 249 /// | 249 /// |
| 250 /// TODO(ahe): Perhaps we can remove this getter, and [internalCurrent] by | 250 /// TODO(ahe): Perhaps we can remove this getter, and [internalCurrent] by |
| 251 /// storing this object in ../worker/worker_main.dart. For example, | 251 /// storing this object in ../worker/worker_main.dart. For example, |
| 252 /// [workerMain] holds a reference to an instance of [SessionState] and | 252 /// [workerMain] holds a reference to an instance of [SessionState] and |
| 253 /// passes this reference to [WorkerSideTask] which can in turn pass it on to | 253 /// passes this reference to [WorkerSideTask] which can in turn pass it on to |
| 254 /// the verb/task in [WorkerSideTask.performTask]. | 254 /// the verb/task in [WorkerSideTask.performTask]. |
| 255 static SessionState get current => internalCurrent; | 255 static SessionState get current => internalCurrent; |
| 256 } | 256 } |
| OLD | NEW |