DMA Timeout

Hi there!
Is there a proper method to stop DMA.recvchannel.transfer by timeout?

Can you specify your use case and talk about what method you expect in detail?

The question lacks a bit of clarity and context.