@lynx-js/web-core
Version:
This is an internal experimental package, do not use
10 lines • 458 B
JavaScript
// Copyright 2026 The Lynx Authors. All rights reserved.
// Licensed under the Apache License Version 2.0 that can be found in the
// LICENSE file in the root directory of this source tree.
import { reloadEndpoint } from '../../endpoints.js';
export function registerReloadHandler(rpc, lynxViewInstance) {
rpc.registerHandler(reloadEndpoint, () => {
lynxViewInstance.parentDom.reload();
});
}
//# sourceMappingURL=registerReloadHandler.js.map