Sometimes it's important to have a proper abstraction for a working unit inside an abstraction system.
Having per example a DownloadTask that allows the downloading of an HTTP based asset and that properly notifies any listening handler should be the aim of this operation.
Implementation
Create the Task class abstraction and then use the websocket infra-structure to make Appier Admin control all of these tasks.
There should be some co-relation between this Task class and the Future class.
Description
Sometimes it's important to have a proper abstraction for a working unit inside an abstraction system.
Having per example a
DownloadTask
that allows the downloading of an HTTP based asset and that properly notifies any listening handler should be the aim of this operation.Implementation
Create the
Task
class abstraction and then use the websocket infra-structure to make Appier Admin control all of these tasks.There should be some co-relation between this
Task
class and theFuture
class.References
socket.io chat example