4.15.9 clear(Tab)

-spec clear(tab()) -> ok.

Delete all data in the table. This is a durable operation.

on_update callback sees effects of this operation as series of regular deletes.

WARNING: this operation races with all pending write, delete or update_counter operations. When these operations are issued simultaneously with clear, the behavior is undefined.

JavaScript license information