| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 3 declare (strict_types=1); 4 namespace WordPress\AiClient\Operations\Contracts; 5 6 use WordPress\AiClient\Operations\Enums\OperationStateEnum; 7 /** 8 * Interface for AI operations. 9 * 10 * Operations represent long-running AI tasks that may not complete immediately. 11 * They provide a way to track the progress and retrieve results asynchronously. 12 * 13 * @since 0.1.0 14 */ 15 interface OperationInterface 16 { 17 /** 18 * Gets the operation ID. 19 * 20 * @since 0.1.0 21 * 22 * @return string The unique operation identifier. 23 */ 24 public function getId(): string; 25 /** 26 * Gets the current state of the operation. 27 * 28 * @since 0.1.0 29 * 30 * @return OperationStateEnum The operation state. 31 */ 32 public function getState(): OperationStateEnum; 33 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Sat Jun 13 09:38:55 2026 | Cross-referenced by PHPXref |