You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement the functionality of the Scope class. #2
/** * @strict-properties * @not-serializable */finalclass Scope implements ScopeProvider
{
//public readonly Context $context;/** * Creates a new Scope that inherits from the specified one. If the parameter is not provided, * the Scope inherits from the current one. * * @param Scope|null $parentScope * * @return Scope */publicstaticfunctioninherit(?Scope$parentScope = null): Scope {}
#[\Override] publicfunctionprovideScope(): Scope {}
publicfunction__construct() {}
publicfunctionasNotSafely(): Scope {}
publicfunctionspawn(\Closure$callable, mixed ...$params): Coroutine {}
publicfunctioncancel(?CancellationException$cancellationException = null): void {}
publicfunctionawaitCompletion(Awaitable$cancellation): void {}
publicfunctionawaitAfterCancellation(?callable$errorHandler = null, ?Awaitable$cancellation = null): void {}
publicfunctionisFinished(): bool {}
publicfunctionisClosed(): bool {}
/** * Sets an error handler that is called when an exception is passed to the Scope from one of its child coroutines. */publicfunctionsetExceptionHandler(callable$exceptionHandler): void {}
/** * Exception handler for child Scope. * Setting this handler prevents the exception from propagating to the current Scope. */publicfunctionsetChildScopeExceptionHandler(callable$exceptionHandler): void {}
publicfunctiononFinally(\Closure$callback): void {}
publicfunctiondispose(): void {}
publicfunctiondisposeSafely(): void {}
publicfunctiondisposeAfterTimeout(int$timeout): void {}
publicfunctiongetChildScopes(): array {}
}
Activity
#98: Coverage phase 2 — async.c 84.49% → 86.07%