문제

Lithium's filter has been implemented by chaining so parallel execution doesn't seem to be possible.

Is there a way to run filters in parallel by having the filters return promises as is done with Dojo deferred?

Or is there another PHP framework with AOP functionality that can do this?

도움이 되었습니까?

해결책

Lithium's filters are enabling some kind of monkeypatching which has nothing to do with deferring tasks.

Deferring tasks has to be done through other mechanisms like:

As PHP isn't threaded (under a normal configuration), nothing run in parallel.

Can you elaborate what kind of tasks would you like to run asynchronously?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top