IsSelfATeamMemberUseCaseImpl

internal class IsSelfATeamMemberUseCaseImpl(selfTeamIdProvider: SelfTeamIdProvider, slowSyncRepository: SlowSyncRepository) : IsSelfATeamMemberUseCase

Constructors

Link copied to clipboard
internal constructor(selfTeamIdProvider: SelfTeamIdProvider, slowSyncRepository: SlowSyncRepository)

Functions

Link copied to clipboard
open suspend operator override fun invoke(): Boolean
Link copied to clipboard
open suspend override fun observe(): <Error class: unknown class><Boolean>

Flow that emits the current value, i.e. whether self user is a team member or not. It will not emit while SlowSync isn't done, as it needs to assure that SelfUser has been properly initialised.