doc.go raw

   1  // Package operation provides implementation for handling operations in Yandex Cloud Go SDK.
   2  //
   3  // An operation represents a long-running task in Yandex Cloud that can be monitored
   4  // and managed through this package. Operations are typically created by service methods
   5  // and can be polled for completion status.
   6  //
   7  // Usage Example:
   8  //
   9  //	op, err := service.CreateResource(ctx, request)
  10  //	if err != nil {
  11  //	    // handle error
  12  //	}
  13  //
  14  //	// Wait for operation completion
  15  //	result, err := op.Wait(ctx)
  16  //	if err != nil {
  17  //	    // handle error
  18  //	}
  19  package operation
  20