queue icon indicating copy to clipboard operation
queue copied to clipboard

Move Loops to a separate package?

Open viktorprogger opened this issue 5 years ago • 8 comments

It will give us ability to use signal loop from any console application, and even from RoadRunner.

viktorprogger avatar Jul 31 '20 11:07 viktorprogger

@yiisoft/yii3, your opinions?

viktorprogger avatar Jul 31 '20 11:07 viktorprogger

Do you mean signal handling etc.?

samdark avatar Aug 03 '20 21:08 samdark

@samdark, yes. We'll also be able to use it inside new version of yii-console.

viktorprogger avatar Aug 04 '20 08:08 viktorprogger

I'm fine about that but not sure about package name. Also it may make sense to make it part of the console package itself.

samdark avatar Aug 04 '20 09:08 samdark

As a result of some research I suggest to move it to yii-console too. To move class, make it final and delete its interface.

viktorprogger avatar Aug 04 '20 11:08 viktorprogger

Need to be implemented after yiisoft/yii-console#46

viktorprogger avatar Sep 14 '20 21:09 viktorprogger

We need to discuss this decision again, I think.

viktorprogger avatar Nov 10 '22 13:11 viktorprogger

Could be postponed after release, I think, because loops are internal thing to queue and would unlikely be used separately before we extract them.

samdark avatar Nov 10 '22 21:11 samdark