Skip to content

Commit bc000e1

Browse files
committed
Merge branch 'true-async-api' into true-async
2 parents 5873750 + 9d59043 commit bc000e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Zend/zend_async_API.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,6 +1376,9 @@ END_EXTERN_C()
13761376
* @param priority Priority level for the exception-throwing coroutine
13771377
*/
13781378
#define ZEND_ASYNC_SPAWN_AND_THROW(exception, scope, priority) zend_async_spawn_and_throw_fn(exception, scope, priority)
1379+
/**
1380+
* The API method initiates graceful shutdown mode.
1381+
*/
13791382
#define ZEND_ASYNC_SHUTDOWN() zend_async_shutdown_fn()
13801383
#define ZEND_ASYNC_ENGINE_SHUTDOWN() zend_async_engine_shutdown_fn()
13811384
#define ZEND_ASYNC_GET_COROUTINES() zend_async_get_coroutines_fn()

0 commit comments

Comments
 (0)