Page MenuHomeSealhub

action.js
No OneTemporary

action.js

"use strict";
const locreq = require("locreq")(__dirname);
const SubjectPath = locreq("lib/data-structures/subject-path.js");
const Promise = require("bluebird");
function Action(RootSubject, subject_path, action_name) {
this.RootSubject = RootSubject;
this.subject_path = new SubjectPath(subject_path);
this.action_name = action_name;
}
Action.pure = {};
Action.curry = function(RootSubject) {
return function(subject_path, action_name) {
return new Action(RootSubject, subject_path, action_name);
};
};
module.exports = Action;

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 24, 06:42 (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
555839
Default Alt Text
action.js (541 B)

Event Timeline