all():Gets all staff members.Promise
<Staff
[]>
Promise
<Staff
[]>
all staff members.
get(Gets the staff member associated to the specified staff id.staffId
):Promise
<Staff
>
string
the staff member to retrieve.
Promise
<Staff
>
the specified staff member.
observe(Creates a subscription for all staff. Check against the staff member you are interested in within your registered callback. To prevent doubling up of changes, notifications triggered by the staff update call will not be notified here. 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
staff
) => void
the function to execute when a change is made to staff in Smokeball.
void