Is there Callback to Feed Data Similar to fit_generator on Keras

Hi,
I’m wondering if there’s a way to feed data with some kind of callback.
Something similar Kera’s fit_generator and predict_geneerator.
Fastai asks for each batch, and my custom function hands Fastai samples for the batch.
Thanks!