mixin
¤
Protocol mixin modules for Fluree ledger operations.
Modules:
Classes:
-
HasContextData–Protocol for objects that have context data.
-
HasInsertData–Protocol for objects that have insert data.
-
SupportsAsyncCommit–Protocol for objects that support asynchronous commit operations.
-
SupportsCommit–Protocol for objects that support synchronous commit operations.
-
SupportsCommitable–Protocol for objects that support both sync and async commit operations.
-
SupportsContext–Protocol for objects that support context operations.
-
SupportsInsert–Protocol for objects that support insert operations.
-
SupportsRequestCreation–Protocol for objects that support HTTP request creation.
-
SupportsWhere–Protocol for objects that support where clause operations.
SupportsAsyncCommit
¤
Bases: Protocol
Protocol for objects that support asynchronous commit operations.
Methods:
-
acommit–Executes the transaction asynchronously.
acommit
async
¤
acommit() -> FlureeResponse
Executes the transaction asynchronously.
Raises:
-
RequestError–If the HTTP request fails.
-
TypeError–If the type parameter cannot be resolved.
SupportsCommit
¤
Bases: Protocol
Protocol for objects that support synchronous commit operations.
Methods:
-
commit–Executes the transaction synchronously.
commit
¤
commit() -> FlureeResponse
Executes the transaction synchronously.
Raises:
-
RequestError–If the HTTP request fails.
-
TypeError–If the type parameter cannot be resolved.
SupportsCommitable
¤
Bases: SupportsCommit, SupportsAsyncCommit, Protocol
Protocol for objects that support both sync and async commit operations.
Methods:
acommit
async
¤
acommit() -> FlureeResponse
Executes the transaction asynchronously.
Raises:
-
RequestError–If the HTTP request fails.
-
TypeError–If the type parameter cannot be resolved.
commit
¤
commit() -> FlureeResponse
Executes the transaction synchronously.
Raises:
-
RequestError–If the HTTP request fails.
-
TypeError–If the type parameter cannot be resolved.