blob: 7011dc2a4a1542f4057b4929e972bc3aa3d1fe9f [file] [log] [blame]
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file
part of repositories;
class ContextRepository extends M.ContextRepository {
Future<M.Context> get(M.IsolateRef i, String id) async {
S.Isolate isolate = i as S.Isolate;
return (await isolate.getObject(id)) as S.Context;
}
}