• Insert a new element at the correct position in the linked list.

    Parameters

    • linkedList: undefined | SHA256Hash<LinkedListEntry>
    • dataOrHash: OneObjectTypes | SHA256Hash
    • OptionalmetaDataOrHashes: (OneObjectTypes | SHA256Hash)[] | ((creationTimeResult: UnversionedObjectResult<CreationTime>) => PromiseOrNot<(OneObjectTypes | SHA256Hash)[]>)
    • Optionaltimestamp: number

    Returns Promise<SHA256Hash<LinkedListEntry>>