get():Gets the firm associated with the current context.Promise
<Firm
>
Promise
<Firm
>
the firm associated with the current context.
observe(Creates a subscription for the firm associated with the current context. Only one subscription will be made per session. Regardless of how many times this function is called, the last registered callback will be used.callback
):void
firm
) => void
the function to execute when a change is made to firm(s) in Smokeball.
void
update(Updates the firm associated with the current context.request
):Promise
<Firm
>
UpdateFirmRequest
the update request.
Promise
<Firm
>