The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Zing::Kernel - Kernel Process

ABSTRACT

Kernel Watcher Process

SYNOPSIS

  use Zing::Kernel;

  my $kernel = Zing::Kernel->new(scheme => ['MyApp', [], 1]);

  # $kernel->execute;

DESCRIPTION

This package provides a watcher process which launches the scheme and supervises the resulting process, and thus is a system manager with control over everything in the system.

INHERITS

This package inherits behaviors from:

Zing::Watcher

LIBRARIES

This package uses type constraints from:

Zing::Types

ATTRIBUTES

This package has the following attributes:

journal

  journal(Channel)

This attribute is read-only, accepts (Channel) values, and is optional.

scheme

  scheme(Scheme)

This attribute is read-only, accepts (Scheme) values, and is required.

METHODS

This package implements the following methods:

execute

  execute() : Object

The execute method launches the scheme and executes the event-loops for all processes.

execute example #1
  # given: synopsis

  $kernel->execute;

AUTHOR

Al Newkirk, awncorp@cpan.org

LICENSE

Copyright (C) 2011-2019, Al Newkirk, et al.

This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".

PROJECT

Wiki

Project

Initiatives

Milestones

Contributing

Issues