I hereby claim:
- I am mrantix on github.
- I am mrantix (https://keybase.io/mrantix) on keybase.
- I have a public key ASBQIl4hmgX25PyYRe25edFEzqNmJOEuBwgnLDrXnvggago
To claim this, I am signing this object:
| export module Guid { | |
| export function newGuid(): string { | |
| return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx' | |
| .replace(/[xy]/g, | |
| c => { | |
| const r = Math.random() * 16 | 0; | |
| const v = c === 'x' ? r : (r & 0x3 | 0x8); | |
| return v.toString(16); | |
| }); | 
| public class Changes<T> | |
| { | |
| public Changes( | |
| IEnumerable<T> toAddOrUpdate = null, | |
| IEnumerable<T> toRemove = null) | |
| { | |
| ToAddOrUpdate = toAddOrUpdate?.ToImmutableArray() ?? ImmutableArray<T>.Empty; | |
| ToRemove = toRemove?.ToImmutableArray() ?? ImmutableArray<T>.Empty; | |
| } | 
I hereby claim:
To claim this, I am signing this object:
| export const PROMISE_SINGLETON_REJECTION_REASON = 'rejected by successor'; | |
| /** | |
| * Creates a context where by only the last called promise is resolved | |
| * Previous ones would be rejected | |
| * | |
| * @example | |
| * | |
| * const context = createPromiseSingletonContext<string>(); | |
| * const someApiCall = (result: string) => new Promise<string>(resolve => { | 
sequenceDiagram
    participant Customer
    participant Database
    participant Book_Handler as Book Handler
    participant Room
    participant Booked_Handler as Booked Handler
    participant Email_Service as Email Service
    Customer->>Database: Search available rooms| /** | |
| * A reusable signing function using the token passed to a provider | |
| * | |
| * @param data data to sign | |
| * @returns Base64 signature | |
| */ | |
| export type TokenSign = (data: string) => Promise<string>; | |
| /* | |
| * Constants for signing | 
| /* https://antix.co.uk/bind-form.html */ | |
| const bindForm = selector => { | |
| const bindFields = root => { | |
| const setters = {}, getters = {} | |
| const binding = { | |
| get: () => Object.keys(getters) | |
| .reduce((data, key) => { | |
| const getter = getters[key]; | |
| if (getter) data[key] = getter.get(); |