(config: AsyncGraphConfig<TSchema>)
| 80 | #storage: AsyncGraphStorage; |
| 81 | #graph: Graph<TSchema>; |
| 82 | public constructor(config: AsyncGraphConfig<TSchema>) { |
| 83 | this.#config = config; |
| 84 | this.#storage = new AsyncGraphStorage(); |
| 85 | this.#graph = new Graph({ |
| 86 | schema: config.schema, |
| 87 | storage: this.#storage, |
| 88 | }); |
| 89 | } |
| 90 | |
| 91 | public async *query<const TPath>( |
| 92 | query: (g: GraphTraversal<TSchema>) => Traversal<TSchema, TPath>, |
nothing calls this directly
no outgoing calls
no test coverage detected