Broadcast.destroy(blocking: bool = False) → None[source]

Destroy all data and metadata related to this broadcast variable. Use this with caution; once a broadcast variable has been destroyed, it cannot be used again.

Changed in version 3.0.0: Added optional argument blocking to specify whether to block until all blocks are deleted.

blockingbool, optional

Whether to block until unpersisting has completed