ocean.task.util

Modules

Event
module ocean.task.util.Event

Shortcut wrapper for ocean.task.Task to suspend/resume on certain conditions.

Event_test
module ocean.task.util.Event_test
QuickRun
module ocean.task.util.QuickRun

Simple utility to run a delegate inside a task while automatically starting event loop behind the scen. Intended for usage in script-like programs, does a new allocation each call.

QuickRun_test
module ocean.task.util.QuickRun_test
Undocumented in source.
StreamProcessor
module ocean.task.util.StreamProcessor

Framework for reading from a stream and throttling based on the progress of processing the received data.

StreamProcessor_test
module ocean.task.util.StreamProcessor_test
TaskPoolSerializer
module ocean.task.util.TaskPoolSerializer

Utility functions for loading and dumping task pools for preserving tasks between application restarts.

TaskPoolSerializer_test
module ocean.task.util.TaskPoolSerializer_test
TaskSuspender
module ocean.task.util.TaskSuspender

Utility to wrap any task and turn it into valid ISuspendable.

TaskSuspender_test
module ocean.task.util.TaskSuspender_test
Undocumented in source.
Timer
module ocean.task.util.Timer

Collection of task waiting / timer utilities wrapped in an easy to use, pseudo-blocking API.

Timer_test
module ocean.task.util.Timer_test