roadrunner-php / laravel-bridge

🌉 RoadRunner ⇆ Laravel bridge 🇺🇦❤️
https://roadrunner.dev/docs/integration-laravel
MIT License
372 stars 25 forks source link

How to use with temporal #100

Closed graid2030 closed 2 years ago

graid2030 commented 2 years ago

I tried to use Mode::MODE_TEMPORAL => \Temporal\Worker\Worker::class, in config/roadrunner.php -> workers but constructor not сompatible, also I can not use closure with \Temporal\WorkerFactory::newWorker()

tarampampam commented 2 years ago

Hi @graid2030! What package do you use for this (where \Temporal\Worker\Worker are located)?

Generally, you should implement a worker by yourself for your use case (or make a bridge for the existing one).

graid2030 commented 2 years ago

temporal/sdk v1.3.6 , thank you

macielcr7 commented 1 year ago

I have the same problem, how should I implement the temporal? @graid2030 @tarampampam