clear
Removes all the records in this data provider.
Return
an object representing pending completion of the task.
Parameters
executor
Executor used for events dispatching. By default events are dispatched on the main thread.
callback
Callback to handle result.