Type alias Reference<T>

Reference<T>: T

Description

example

import { Reference } from 'peekeasy'

function* generate() {
while (true) {
yield 'Hello, reference!'
}
}

const reference = new Reference(generate())

// Hello, reference!
console.log(`${reference}`)

Type Parameters

Generated using TypeDoc