Skip to content

Additional Parameter #26

@fri13th

Description

@fri13th

I needed some additional parameter when starting thread.
So I added it in Process class and fork and spawn method in ProcessManager class.
I don' have enough time to PR, now. So I just leave an issue here.

$param = "whatever";

$process = $manager->fork(function(Ko\Process $p, $param) {
    // do something
}, $param);

source.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions