basalt / drives/src / DriveSink
Type Alias: DriveSink
> DriveSink = (input) => Promise<DriveSinkResult>
Defined in: drives/src/import.ts:71
Where an imported item lands.
A plain function rather than an interface with one method: there is exactly one thing to implement, and a function composes (wrap it to add classification, swap it in a test) where an interface would only add a class to write.
Parameters
input
Returns
Promise<DriveSinkResult>