datatable.options.progress.callback¶
If None
, then the built-in progress-reporting function will be used.
Otherwise, this value specifies a function to be called at each
progress event. The function takes a single parameter p
, which is
a namedtuple with the following fields:
p.progress
is a float in the range0.0 .. 1.0
;
p.status
is a string, one of ‘running’, ‘finished’, ‘error’ or ‘cancelled’; and
p.message
is a custom string describing the operation currently being performed.