import type { AdapterPool } from './types' ; import type { AdapterRuntimeInfo } from '@resolve-js/eventstore-base' ; const runtimeInfo = ( pool ) : AdapterRuntimeInfo => { return { disposed : pool . disposed , connectionCount : pool . connection === undefined ? 0 : 1 , } ; } ; export default runtimeInfo ;