Daml.Finance.Interface.Lifecycle.Observable.TimeObservable¶
This module defines an interface for a TimeObservable
, which is implemented by templates
exposing time information.
Interfaces¶
interface TimeObservable
An interface to inspect a time value.
viewtype V
Choice Archive
Controller: Signatories of implementing template
Returns: ()
(no fields)
Choice GetTime
Retrieves the current time.
Controller: actors
Returns: Time
Field Type Description actors Parties The party retrieving the current time. Choice GetView
Retrieves the interface view.
Controller: viewer
Returns: View
Field Type Description viewer Party The party retrieving the view. Implementation of the
GetTime
choice.
Data Types¶
- type I
-
Type synonym for
TimeObservable
.
- type V
= View
Type synonym for
View
.instance HasFromAnyView TimeObservable V
data View