Right now, currentValueFor is a suspending function. This was chosen with the use case of a client-server RDBMS backing a data store, and thus potentially desiring suspending ops.
No client library for feature flags we've evaluated yet requires suspending simply to get a value. Does imposing suspending functions on consumers of this API seem like overkill? Possibly.
Right now,
currentValueFor
is a suspending function. This was chosen with the use case of a client-server RDBMS backing a data store, and thus potentially desiring suspending ops.No client library for feature flags we've evaluated yet requires suspending simply to get a value. Does imposing suspending functions on consumers of this API seem like overkill? Possibly.