Automattic\WooCommerce\Internal\ProductFeed\Feed

ResumableFeedInterface::flushpublicWC 11.0.0

Persist the current chunk and release the file handle without finalizing the feed.

Called at the end of a chunk that is not the last one, so a later chunk can resume.

Method of the class: ResumableFeedInterface{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ResumableFeedInterface = new ResumableFeedInterface();
$ResumableFeedInterface->flush(): void;

Changelog

Since 11.0.0 Introduced.

ResumableFeedInterface::flush() code WC 11.0.0

public function flush(): void;