get workplace()

in packages/enterprise-search/src/index.ts [89:98]


  get workplace (): WorkplaceSearchClient {
    let client = this[kWorkplaceSearch]
    if (client === null) {
      client = new WorkplaceSearchClient(this[kOptions], {
        connectionPool: this[kConnectionPool],
        diagnostic: this.diagnostic
      })
    }
    return client
  }