🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

subtask.server

Package Overview
Dependencies
Maintainers
0
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

subtask.server

1.0.0-beta.10
NuGet
Version published
Maintainers
0
Created
Source

Subtask.Server

NuGet version (Subtask.Server)

Subtask.Server is the server side of the Subtask library, used to manage and schedule the running of processes.

Installation

The Subtask.Server Nuget package can be found at https://nuget.org/packages/Subtask.Server/.

To install it via the .NET CLI, simply enter:

dotnet add package Subtask.Server

Examples

Initialization - ProcessServer

ProcessServer server = ProcessServer.Create(
    new ServiceProviderHelper(), 
    new Logger(), 
    new ModuleIdentifier(), 
    applicationName, 
    serverId, 
    new ProcessStorageFactory(),
    new ProcessLifeCycleDelegateFactory()
);

Start a Process

await server.Start(new CancellationToken());

Stop a Process

await server.Stop(new CancellationToken());

Remove a Server

ProcessServer server = ProcessServer.Create(
    new ServiceProviderHelper(), 
    new Logger(), 
    new ModuleIdentifier(), 
    applicationName, 
    serverId, 
    new ProcessStorageFactory(),
    new ProcessLifeCycleDelegateFactory()
);

await ProcessServer.Remove(serverId, new CancellationToken());

FAQs

Package last updated on 10 Mar 2025

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