d4rky-pl / arboris

Hassle-free combination of mobx-state-tree and server-side rendering.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement cancellable flows

d4rky-pl opened this issue · comments

Currently if flow gets timeouted, it cannot be cancelled which is a problem if it's XHR.

Figure out if there's a way to implement this.

This is impossible with native promises but we could add a 'soft' support for Bluebird / Q by going through all promises during timeout and calling cancel method if one exists.