Skip to content

worker example in the readme doesn't work #2

@akshithg

Description

@akshithg
worker = Pigato::Worker.new('tcp://localhost:55555', 'echo')
reply = nil
loop do
  request = worker.recv reply
  worker.reply request
end
  1. worker has to be started with worker.start
  2. worker.recv takes no params

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