runtimehook

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package runtimehook provides a tiny internal hook registry used to avoid import cycles between the public queue package and internal bridge/test helpers introduced during API flattening.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildQueueFromDriverFunc

type BuildQueueFromDriverFunc func(cfg any, backend any, workerFactory WorkerFactory, opts []any) (any, error)

BuildQueueFromDriver builds a high-level *queue.Queue from a private driver backend representation provided by internal/driverbridge.

var BuildQueueFromDriver BuildQueueFromDriverFunc

type ExtractRuntimeFromQueueFunc

type ExtractRuntimeFromQueueFunc func(q any) (any, error)

ExtractRuntimeFromQueue exposes the internal runtime from *queue.Queue for test-only bridges (not public API use).

var ExtractRuntimeFromQueue ExtractRuntimeFromQueueFunc

type WorkerFactory

type WorkerFactory func(workers int) (any, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL