Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/bnixon67/scheduler

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/bnixon67/scheduler

  • v0.0.0-20241119021838-6e97c8fbbfdf
  • Source
  • Go
  • Socket score

Version published
Created
Source

Scheduler Package

The scheduler package is a Go library designed for periodic recurring job scheduling and execution using a pool of workers. The package provides an easy-to-use API to manage job lifecycles, handle concurrent execution, and stop jobs gracefully when required.


Features

  • Job Scheduling: Schedule jobs to run at specified intervals.
  • Worker Pool Management: Efficiently manage multiple workers to execute jobs concurrently.
  • Graceful Shutdown: Ensure all workers stop cleanly without leaving incomplete tasks.
  • Thread-Safe Job Management: Uses sync.Map for safe concurrent job access and modification.
  • Context-Based Cancellation: Stop all running jobs and workers using Go's context package.

FAQs

Package last updated on 19 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc