pending

A shelf whose source the host does not know yet — a publication it is still looking up.

The block draws its placeholders as it does while loading, asks nothing of the catalogue and offers no retry. Hand it a real source once known and it loads then; the swap is ordinary Compose state. In a page, a pending block keeps the page out of its failed and empty states, like a block still loading.

IssuesBlock(
source = publicationId?.let { IssuesBlockSource.ofPublications(listOf(it)) } ?: IssuesBlockSource.pending(),
title = "Issues",
onEvent = ::onIssueEvent
)