Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91589667
NullFactory.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Nov 12, 12:28
Size
628 B
Mime Type
text/x-c++
Expires
Thu, Nov 14, 12:28 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22289085
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
NullFactory.js
View Options
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict"
;
const
ModuleFactory
=
require
(
"./ModuleFactory"
);
/** @typedef {import("./ModuleFactory").ModuleFactoryCreateData} ModuleFactoryCreateData */
/** @typedef {import("./ModuleFactory").ModuleFactoryResult} ModuleFactoryResult */
class
NullFactory
extends
ModuleFactory
{
/**
* @param {ModuleFactoryCreateData} data data object
* @param {function(Error=, ModuleFactoryResult=): void} callback callback
* @returns {void}
*/
create
(
data
,
callback
)
{
return
callback
();
}
}
module
.
exports
=
NullFactory
;
Event Timeline
Log In to Comment