iikoFront Api V6 Code Reference
iikoFront Api V6 Code Reference
Resto.Front.Api.Extensions
OperationServiceExtensions Class
OperationServiceExtensions Methods
ExecuteContinuousOperation Method
ExecuteContinuousOperation Method (IOperationService, Action(IOperationService))
ExecuteContinuousOperation(T) Method (IOperationService, Func(IOperationService, T))

# OperationServiceExtensions ExecuteContinuousOperation Method

Overload List

| Name | Description
--- | --- | ---
| ExecuteContinuousOperation(IOperationService, Action IOperationService ) | Executes the callback function as one continuous operation by providing temporary instance of IOperationService, which holds internal locks taken on lockable entities (such as order) until the operation ends. It's strongly recommended to avoid potentially obstructive calls in the callback, i.e network calls, heavy I/O or CPU-bound calls, thread blocking and so on, because touched entities will remain locked for a long time.
| ExecuteContinuousOperation T (IOperationService, Func IOperationService, T ) | Executes the callback function as one continuous operation by providing temporary instance of IOperationService, which holds internal locks taken on lockable entities (such as order) until the operation ends. It's strongly recommended to avoid potentially obstructive calls in the callback, i.e network calls, heavy I/O or CPU-bound calls, thread blocking and so on, because touched entities will remain locked for a long time.

Top
See Also

#### Reference

OperationServiceExtensions Class
Resto.Front.Api.Extensions Namespace