blob: ceda7101617dd0e0a5f4dc35b5d43012ec9e2d5a [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 FunctionRepository extends M.FunctionRepository {
Future<M.ServiceFunction> get(M.IsolateRef i, String id) async {
S.Isolate isolate = i as S.Isolate;
return (await isolate.getObject(id)) as S.ServiceFunction;
}
}