package
0.0.0-20190823064734-05c43452ea18
Repository: https://github.com/ppacher/glua-loop.git
Documentation: pkg.go.dev

# Functions

LGet returns the current event loop from the given VM.
New returns a new event loop.
NewQueue creates a new queue.
RegisterMetrics registers queue related prometheus metrics.

# Variables

ErrQueueBlocked is returned when a new item should be added to the queue but it is currently blocked.

# Structs

Options used when creating a new event loop.
Queue implements a job queue for the event loop.

# Interfaces

Loop is an async event loop for lua.

# Type aliases

Task is a task that should be executed inside the loop.