ACIL FM
Dark
Refresh
Current DIR:
/home/mhhtmff/app/NH-HR-test-old/vendor/guzzlehttp/promises/src
/
home
mhhtmff
app
NH-HR-test-old
vendor
guzzlehttp
promises
src
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
AggregateException.php
413 B
chmod
View
DL
Edit
Rename
Delete
CancellationException.php
209 B
chmod
View
DL
Edit
Rename
Delete
Coroutine.php
4.07 MB
chmod
View
DL
Edit
Rename
Delete
Create.php
1.96 MB
chmod
View
DL
Edit
Rename
Delete
Each.php
2.6 MB
chmod
View
DL
Edit
Rename
Delete
EachPromise.php
7.42 MB
chmod
View
DL
Edit
Rename
Delete
FulfilledPromise.php
2 MB
chmod
View
DL
Edit
Rename
Delete
Is.php
941 B
chmod
View
DL
Edit
Rename
Delete
Promise.php
8.75 MB
chmod
View
DL
Edit
Rename
Delete
PromiseInterface.php
2.76 MB
chmod
View
DL
Edit
Rename
Delete
PromisorInterface.php
249 B
chmod
View
DL
Edit
Rename
Delete
RejectedPromise.php
2.21 MB
chmod
View
DL
Edit
Rename
Delete
RejectionException.php
1.21 MB
chmod
View
DL
Edit
Rename
Delete
TaskQueue.php
1.97 MB
chmod
View
DL
Edit
Rename
Delete
TaskQueueInterface.php
450 B
chmod
View
DL
Edit
Rename
Delete
Utils.php
8.18 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/mhhtmff/app/NH-HR-test-old/vendor/guzzlehttp/promises/src/PromiseInterface.php
<?php declare(strict_types=1); namespace GuzzleHttp\Promise; /** * A promise represents the eventual result of an asynchronous operation. * * The primary way of interacting with a promise is through its then method, * which registers callbacks to receive either a promise’s eventual value or * the reason why the promise cannot be fulfilled. * * @see https://promisesaplus.com/ */ interface PromiseInterface { public const PENDING = 'pending'; public const FULFILLED = 'fulfilled'; public const REJECTED = 'rejected'; /** * Appends fulfillment and rejection handlers to the promise, and returns * a new promise resolving to the return value of the called handler. * * @param callable $onFulfilled Invoked when the promise fulfills. * @param callable $onRejected Invoked when the promise is rejected. */ public function then( ?callable $onFulfilled = null, ?callable $onRejected = null ): PromiseInterface; /** * Appends a rejection handler callback to the promise, and returns a new * promise resolving to the return value of the callback if it is called, * or to its original fulfillment value if the promise is instead * fulfilled. * * @param callable $onRejected Invoked when the promise is rejected. */ public function otherwise(callable $onRejected): PromiseInterface; /** * Get the state of the promise ("pending", "rejected", or "fulfilled"). * * The three states can be checked against the constants defined on * PromiseInterface: PENDING, FULFILLED, and REJECTED. */ public function getState(): string; /** * Resolve the promise with the given value. * * @param mixed $value * * @throws \RuntimeException if the promise is already resolved. */ public function resolve($value): void; /** * Reject the promise with the given reason. * * @param mixed $reason * * @throws \RuntimeException if the promise is already resolved. */ public function reject($reason): void; /** * Cancels the promise if possible. * * @see https://github.com/promises-aplus/cancellation-spec/issues/7 */ public function cancel(): void; /** * Waits until the promise completes if possible. * * Pass $unwrap as true to unwrap the result of the promise, either * returning the resolved value or throwing the rejected exception. * * If the promise cannot be waited on, then the promise will be rejected. * * @return mixed * * @throws \LogicException if the promise has no wait function or if the * promise does not settle after waiting. */ public function wait(bool $unwrap = true); }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply