fun getUsersList()

in src/main/kotlin/jetbrains/buildServer/notification/slackNotifier/slack/AggregatedSlackApi.kt [72:80]


    fun getUsersList(token: String): List<User> {
        val res = myUsersCache.getAsync(token, readTimeoutMs) {
            getList { cursor ->
                slackApi.usersList(token, cursor)
            }
        }
        if (!res.ok) throw SlackResponseError(res.error)
        return res.data
    }