Documentation ¶
Overview ¶
package queue provide a universal way of handling queuing and executing tasks
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Task ¶
type Task struct { F func() Delay int }
TODO: This entire Task queue should be replaced and core's task queue should be used instead In order to replace, the core task queue must support the ability to update the position of a task in the queue. Also will need to consider order. Currently everything that is queued via QueueCharTask will always happen before all entries in the core task queue. If any implementations depend on this order, this will cause additional problems.
Click to show internal directories.
Click to hide internal directories.