Leverage listIndexes with its includeIndexBuilds optional flag to retrieve both ready and in-progress indexes. It looks like listIndexes results that are in-prog have a buildUUID flag to distinguish themselves.
Ready indexes should be built as is done in v4.0. In-progress indexes will be started asynchronously.
Read the relevant design documents sections for details / edge case handling.