/**
 * @typedef {import("@weborigami/types").AsyncTree} AsyncTree
 * @implements {AsyncTree}
 */
export default class ConstantTree {
  constructor(value) {
    this.value = value;
    this.parent = null;
  }

  async get(key) {
    return this.value;
  }

  async keys() {
    return [];
  }
}
