[#node-BlockManager-LoadingBlocks]
= xref:node.adoc[node]::xref:node/BlockManager.adoc[BlockManager]::LoadingBlocks
:relfileprefix: ../../
:mrdocs:

Report whether blocks are still being imported or indexed&period;

== Synopsis

Declared in `&lt;node&sol;blockstorage&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
bool
LoadingBlocks() const;
----

== Return Value

True while importing blocks or before block&hyphen;file indexing completes&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====

[.small]#Created with https://www.mrdocs.com[MrDocs]#
