wctx

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Overview

wctx package defines missing context-aware primitives

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadAll

func ReadAll(ctx context.Context, r io.Reader) ([]byte, error)

func Sleep

func Sleep(ctx context.Context, d time.Duration) error

func SleepOn

func SleepOn(ctx context.Context, c <-chan time.Time) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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