Extracted from Pike v8.0 release 276 as of 2016-07-30.
   

Method Shuffler.Shuffle()->set_done_callback()


Method set_done_callback

void set_done_callback(function(Shuffle, int:void) cb)

Description

Sets the done callback. This function will be called when all sources have been processed, or if an error occurs.